python - Django Admin Emails -


i've put django website production, , i've turned debug off. i've configured admins setting can informed of errors occurring.

in settings.py, have following:

admins = (('foo', 'bar@example.com'))

i use zoho send out emails. when noticed wasn't receiving anything, checked "sent" folder on site. it's trying send email <r>, <n>

why isn't name , email being parsed, , can fix it?

admins should list of tuples. forgot add comma make list:

admins = (('foo', 'bar@example.com'), ) 

or cat use list syntax:

admins = [('foo', 'bar@example.com')] 

Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -