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
This commit is contained in:
Andrew Godwin 2010-12-22 21:49:20 +00:00
parent 5fddfda559
commit f9fba51164
1 changed files with 1 additions and 1 deletions

View File

@ -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.