diff options
| author | Pavel Lysak <p.lysak@corp.mail.ru> | 2019-09-07 20:08:12 +0300 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2020-01-16 15:25:49 +0100 |
| commit | 13e4abf83e5129b44c771b2204809792087abda4 (patch) | |
| tree | 4a1ae01aef949cde3210a62127a985258aae245b /docs/ref | |
| parent | a5a28de89dabfa03302a5893102b6f1a7c7861a1 (diff) | |
Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/settings.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 51bbba35f0..917ffeebb4 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1250,6 +1250,19 @@ Default: ``'utf-8'`` Default charset to use for all ``HttpResponse`` objects, if a MIME type isn't manually specified. Used when constructing the ``Content-Type`` header. +.. setting:: DEFAULT_EXCEPTION_REPORTER + +``DEFAULT_EXCEPTION_REPORTER`` +------------------------------ + +.. versionadded:: 3.1 + +Default: ``'``:class:`django.views.debug.ExceptionReporter`\ ``'`` + +Default exception reporter class to be used if none has been assigned to the +:class:`~django.http.HttpRequest` instance yet. See +:ref:`custom-error-reports`. + .. setting:: DEFAULT_EXCEPTION_REPORTER_FILTER ``DEFAULT_EXCEPTION_REPORTER_FILTER`` @@ -3537,6 +3550,7 @@ Email Error reporting --------------- +* :setting:`DEFAULT_EXCEPTION_REPORTER` * :setting:`DEFAULT_EXCEPTION_REPORTER_FILTER` * :setting:`IGNORABLE_404_URLS` * :setting:`MANAGERS` |
