1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed docs typos.

This commit is contained in:
Szczepan Cieślik
2014-02-22 18:30:28 +01:00
committed by Tim Graham
parent 65b4626528
commit e816198034
32 changed files with 48 additions and 47 deletions

View File

@@ -163,13 +163,13 @@ production environment (that is, where :setting:`DEBUG` is set to ``False``):
def my_function():
...
.. admonition:: When using mutiple decorators
.. admonition:: When using multiple decorators
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
mutiple decorators, then make sure to place ``@sensitive_variables`` at
the top of the decorator chain. This way it will also hide the function
argument as it gets passed through the other decorators::
multiple decorators, then make sure to place ``@sensitive_variables``
at the top of the decorator chain. This way it will also hide the
function argument as it gets passed through the other decorators::
@sensitive_variables('user', 'pw', 'cc')
@some_decorator