diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2010-12-22 21:49:20 +0000 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2010-12-22 21:49:20 +0000 |
| commit | f9fba51164f36519e9b2f7917296ddd83b86ef47 (patch) | |
| tree | 674086a632b2ad5e7fe43cf338a76db966cd3492 | |
| parent | 5fddfda5593d0f8c244f640ae63a17035ade0e3e (diff) | |
Fix a small docstring bug in the CSRF decorators.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/views/decorators/csrf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/decorators/csrf.py b/django/views/decorators/csrf.py index 89f676fe16..578854a529 100644 --- a/django/views/decorators/csrf.py +++ b/django/views/decorators/csrf.py @@ -24,7 +24,7 @@ class _EnsureCsrfToken(CsrfViewMiddleware): requires_csrf_token = decorator_from_middleware(_EnsureCsrfToken) requires_csrf_token.__name__ = 'requires_csrf_token' -csrf_protect.__doc__ = """ +requires_csrf_token.__doc__ = """ Use this decorator on views that need a correct csrf_token available to RequestContext, but without the CSRF protection that csrf_protect enforces. |
