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:
parent
bb6b9aa472
commit
be57541af1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue