From 56071826bbb741b6ca04aa517a26acd335fc24d7 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Fri, 17 Jan 2020 15:11:44 +0100 Subject: [PATCH] Refs #30752 -- Doc'd error reporting related optional request attributes. --- docs/ref/request-response.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 7a8b4b3082..370993444b 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -234,6 +234,16 @@ application. ``urlconf`` can be set to ``None`` to revert any changes made by previous middleware and return to using the :setting:`ROOT_URLCONF`. +.. attribute:: HttpRequest.exception_reporter_filter + + This will be used instead of :setting:`DEFAULT_EXCEPTION_REPORTER_FILTER` + for the current request. See :ref:`custom-error-reports` for details. + +.. attribute:: HttpRequest.exception_reporter_class + + This will be used instead of :setting:`DEFAULT_EXCEPTION_REPORTER` for the + current request. See :ref:`custom-error-reports` for details. + Attributes set by middleware ----------------------------