mirror of https://github.com/django/django.git
Fixed #26436 -- Added a link to the settings filtering in the error reporting howto.
Thanks mlissner for the suggestion.
This commit is contained in:
parent
12dee89d9c
commit
8928823b13
|
@ -143,10 +143,12 @@ exception raised, each `traceback frame`_’s local variables, and the
|
||||||
|
|
||||||
However, sometimes certain types of information may be too sensitive and thus
|
However, sometimes certain types of information may be too sensitive and thus
|
||||||
may not be appropriate to be kept track of, for example a user's password or
|
may not be appropriate to be kept track of, for example a user's password or
|
||||||
credit card number. So Django offers a set of function decorators to help you
|
credit card number. So in addition to filtering out settings that appear to be
|
||||||
control which information should be filtered out of error reports in a
|
sensitive as described in the :setting:`DEBUG` documentation, Django offers a
|
||||||
production environment (that is, where :setting:`DEBUG` is set to ``False``):
|
set of function decorators to help you control which information should be
|
||||||
:func:`sensitive_variables` and :func:`sensitive_post_parameters`.
|
filtered out of error reports in a production environment (that is, where
|
||||||
|
:setting:`DEBUG` is set to ``False``): :func:`sensitive_variables` and
|
||||||
|
:func:`sensitive_post_parameters`.
|
||||||
|
|
||||||
.. _`full traceback`: https://en.wikipedia.org/wiki/Stack_trace
|
.. _`full traceback`: https://en.wikipedia.org/wiki/Stack_trace
|
||||||
.. _`traceback frame`: https://en.wikipedia.org/wiki/Stack_frame
|
.. _`traceback frame`: https://en.wikipedia.org/wiki/Stack_frame
|
||||||
|
|
Loading…
Reference in New Issue