mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed versionadded/changed annotations dating back to 1.4.
This commit is contained in:
parent
ef017a5f00
commit
7ee7599ab3
49 changed files with 59 additions and 409 deletions
|
@ -106,8 +106,6 @@ The best way to disable this behavior is to set
|
|||
Filtering error reports
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 1.4
|
||||
|
||||
Filtering sensitive information
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -185,15 +183,11 @@ production environment (that is, where :setting:`DEBUG` is set to ``False``):
|
|||
def my_view(request):
|
||||
...
|
||||
|
||||
.. note::
|
||||
|
||||
.. versionchanged:: 1.4
|
||||
|
||||
Since version 1.4, all POST parameters are systematically filtered out of
|
||||
error reports for certain :mod:`django.contrib.auth.views` views (
|
||||
``login``, ``password_reset_confirm``, ``password_change``, and
|
||||
``add_view`` and ``user_change_password`` in the ``auth`` admin) to prevent
|
||||
the leaking of sensitive information such as user passwords.
|
||||
All POST parameters are systematically filtered out of error reports for
|
||||
certain :mod:`django.contrib.auth.views` views (``login``,
|
||||
``password_reset_confirm``, ``password_change``, and ``add_view`` and
|
||||
``user_change_password`` in the ``auth`` admin) to prevent the leaking of
|
||||
sensitive information such as user passwords.
|
||||
|
||||
.. _custom-error-reports:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue