1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #32105 -- Added template paths as ExceptionReporter class attributes.

This allows replacement of the debugging templates without having to
copy-paste the `get_traceback_html` and `get_traceback_text` functions
into a subclass.

Thanks to Nick Pope for review.
This commit is contained in:
Aarni Koskela
2020-10-15 11:44:02 +02:00
committed by Carlton Gibson
parent 411cc0ae18
commit 68e33b347d
7 changed files with 50 additions and 3 deletions

View File

@@ -0,0 +1 @@
<h1>Oh no, an error occurred!</h1>