Fixed #15597: When formatting the debug page for inclusion in an e-mail, suppress the note about "seeing this" because DEBUG is True.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2011-03-14 14:58:54 +00:00
parent 12b5152233
commit f1f10a9ce2
1 changed files with 9 additions and 8 deletions

View File

@ -756,7 +756,7 @@ Exception Value: {{ exception_value|force_escape }}
</table>
</div>
{% if not is_email %}
<div id="explanation">
<p>
You're seeing this error because you have <code>DEBUG = True</code> in your
@ -764,6 +764,7 @@ Exception Value: {{ exception_value|force_escape }}
display a standard 500 page.
</p>
</div>
{% endif %}
</body>
</html>
"""