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

Refs #32105 -- Moved ExceptionReporter template paths to properties.

Refs #32316.
This commit is contained in:
William Schwartz
2021-03-30 15:57:33 -05:00
committed by Mariusz Felisiak
parent db5b75f10f
commit 7248afe12f
3 changed files with 19 additions and 12 deletions

View File

@@ -299,10 +299,10 @@ Decorators
Error Reporting
~~~~~~~~~~~~~~~
* Custom :class:`~django.views.debug.ExceptionReporter` subclasses can now set
the :attr:`~django.views.debug.ExceptionReporter.html_template_path` and
:attr:`~django.views.debug.ExceptionReporter.text_template_path` class
attributes to override the templates used to render exception reports.
* Custom :class:`~django.views.debug.ExceptionReporter` subclasses can now
define the :attr:`~django.views.debug.ExceptionReporter.html_template_path`
and :attr:`~django.views.debug.ExceptionReporter.text_template_path`
properties to override the templates used to render exception reports.
File Uploads
~~~~~~~~~~~~