Explorar o código

Refs #30752 -- Doc'd error reporting related optional request attributes.

Carlton Gibson %!s(int64=5) %!d(string=hai) anos
pai
achega
56071826bb
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      docs/ref/request-response.txt

+ 10 - 0
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
 ----------------------------