Quantcast
Viewing all articles
Browse latest Browse all 783

Re: Is There A Way to show "Device Title" In Email Notifications?

I actually got this to work!  I used the following:

 

d = dmd.Devices.findDevice(evt.device)

if d is not None:

  evt.device_title = d.title

 

which is something I found by reading some other discussions....just remember to indent the 3rd line as I didn't at first and when I viewed the log I saw the error of my ways Image may be NSFW.
Clik here to view.


Viewing all articles
Browse latest Browse all 783

Trending Articles