Kaydet (Commit) be57541a authored tarafından Luke Plant's avatar Luke Plant

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
üst bb6b9aa4
...@@ -244,6 +244,8 @@ Exceptions ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment