#15745: Description of DEBUG setting in email is misleading if DEBUG == False. ---------------------------------------------+----------------------------- Reporter: jMyles | Owner: nobody Type: Bug | Status: new Milestone: | Component: User Version: 1.3 | Experience Keywords: debug, mail, errors, docstrings | Severity: Normal Has patch: 1 | Triage Stage: Unreviewed ---------------------------------------------+----------------------------- If DEBUG == False, Django sends emails to those listed in the ADMIN setting with the exact text of the debug message.
At the bottom of this message is the following: "You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page." In the case that the message is displayed in an email, this content is misleading. Of course in order for the email to have been sent, we know that the user has DEBUG = False. Thus, we need a short branch divorcing these two cases and displaying slightly different content. Also (and please let me know if the convention is to separate these into two tickets) - there are some grammar issues with the docstrings - many need to be migrated to the present recurring tense / indicative mood if in fact that is going to remain the guideline. -- Ticket URL: <http://code.djangoproject.com/ticket/15745> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.