Commit f1f10a9c authored by Karen Tracey's avatar Karen Tracey
Browse files

Fixed #15597: When formatting the debug page for inclusion in an e-mail,...

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
parent 12b51522
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -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>
"""