Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #12964 - wrong path for CSRF decorators in upgrading notes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9f592ecced6c489c3f2feb418f9005bebc189cd6 1 parent 9fab146
@spookylukey spookylukey authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/ref/contrib/csrf.txt
View
6 docs/ref/contrib/csrf.txt
@@ -178,9 +178,9 @@ continue to work for now, but they are deprecated and will be removed in Django
django.contrib.csrf.middleware.CsrfMiddleware django.middleware.csrf.CsrfMiddleware
django.contrib.csrf.middleware.CsrfViewMiddleware django.middleware.csrf.CsrfViewMiddleware
django.contrib.csrf.middleware.CsrfResponseMiddleware django.middleware.csrf.CsrfResponseMiddleware
-django.contrib.csrf.middleware.csrf_exempt django.views.decorators.csrf_exempt
-django.contrib.csrf.middleware.csrf_view_exempt django.views.decorators.csrf_view_exempt
-django.contrib.csrf.middleware.csrf_response_exempt django.views.decorators.csrf_response_exempt
+django.contrib.csrf.middleware.csrf_exempt django.views.decorators.csrf.csrf_exempt
+django.contrib.csrf.middleware.csrf_view_exempt django.views.decorators.csrf.csrf_view_exempt
+django.contrib.csrf.middleware.csrf_response_exempt django.views.decorators.csrf.csrf_response_exempt
====================================================== ==============================================
You should update any imports, and also the paths in your

0 comments on commit 9f592ec

Please sign in to comment.
Something went wrong with that request. Please try again.