Fixed #12839 - noted change of import path for csrf_exempt decorator

Thanks rubic for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2010-02-10 23:51:09 +00:00
parent bb6b9aa472
commit be57541af1
1 changed files with 2 additions and 0 deletions

View File

@ -244,6 +244,8 @@ Exceptions
---------- ----------
.. versionadded:: 1.1 .. versionadded:: 1.1
.. versionchanged:: 1.2
Import paths for the decorators below were changed.
To manually exclude a view function from being handled by either of the two CSRF To manually exclude a view function from being handled by either of the two CSRF
middleware, you can use the ``csrf_exempt`` decorator, found in the middleware, you can use the ``csrf_exempt`` decorator, found in the