There's been an error. It's been reported to the site administrators via email and should be fixed shortly. Thanks for your patience.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/24b158eb-c6f3-4928-8588-391484139734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm using apache + django + mod_wsgi to serve my app.
My apache version is 2.4.7 and my django version is 1.8.4
My django settings are:
DEBUG=False
ADMINS = [
('username','username@comp.nus.edu.sg'),
]
MANAGERS = [
('username','username@comp.nus.edu.sg'),
]
MIDDLEWARE_CLASSES = (
...
'django.middleware.common.BrokenLinkEmailsMiddleware',
)
EMAIL_HOST = 'stmp.comp.nus.edu.sg'
EMAIL_PORT = 25
EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
It belongs to settings.py, as everything else. However, if you haven't overridden it, it should send yeu the emails. Are you sure your e-mail sender settings are set properly?
Best,
Gergely
No, I haven't.
How should I override? And Which file should I put the LOGGING settings in?
在 2015年9月19日星期六 UTC+8下午7:49:56,Xin Ji写道:
I'm using apache + django + mod_wsgi to serve my app.
My apache version is 2.4.7 and my django version is 1.8.4
My django settings are:
DEBUG=False
ADMINS = [
('username','user...@comp.nus.edu.sg'),
]
MANAGERS = [
('username','user...@comp.nus.edu.sg'),
]
MIDDLEWARE_CLASSES = (
...
'django.middleware.common.BrokenLinkEmailsMiddleware',
)
EMAIL_HOST = 'stmp.comp.nus.edu.sg'
EMAIL_PORT = 25
EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
When I ran the server, I got this error on the website(This page uses the django 500.html template.):Server Error (500)
There's been an error. It's been reported to the site administrators via email and should be fixed shortly. Thanks for your patience.
But I didn't receive any email about the error report.
What's wrong with my configurations?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/68c1b621-1cb5-4dfd-bd22-921134a0d128%40googlegroups.com.