Commit be57541a authored by Luke Plant's avatar Luke Plant
Browse files

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
parent bb6b9aa4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -244,6 +244,8 @@ Exceptions
----------

.. 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
middleware, you can use the ``csrf_exempt`` decorator, found in the