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 On 19 Sep 2015 14:27, "Xin Ji" <[email protected]> wrote: > 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','[email protected] >> <[email protected]>'), ] MANAGERS = [ >> ('username','[email protected] <[email protected]>'), ] >> MIDDLEWARE_CLASSES = ( ... >> 'django.middleware.common.BrokenLinkEmailsMiddleware', ) EMAIL_HOST = >> 'stmp.comp.nus.edu.sg <http://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 [email protected]. > To post to this group, send email to [email protected]. > 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 > <https://groups.google.com/d/msgid/django-users/68c1b621-1cb5-4dfd-bd22-921134a0d128%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CACczBUKqJ6yeTQGYN19-imzikrPsbY2PgLHXJVhaEXSS2QkRLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

