mirror of https://github.com/django/django.git
Fixed a typo in the error reporting docs.
This commit is contained in:
parent
984e91e28f
commit
83d0cc5214
|
@ -157,7 +157,7 @@ production environment (that is, where :setting:`DEBUG` is set to ``False``):
|
||||||
|
|
||||||
If the variable you want to hide is also a function argument (e.g.
|
If the variable you want to hide is also a function argument (e.g.
|
||||||
'``user``' in the following example), and if the decorated function has
|
'``user``' in the following example), and if the decorated function has
|
||||||
mutiple decorators, then make sure to place ``@sensible_variables`` at
|
mutiple decorators, then make sure to place ``@sensitive_variables`` at
|
||||||
the top of the decorator chain. This way it will also hide the function
|
the top of the decorator chain. This way it will also hide the function
|
||||||
argument as it gets passed through the other decorators::
|
argument as it gets passed through the other decorators::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue