diff --git a/docs/ref/contrib/csrf.txt b/docs/ref/contrib/csrf.txt index 6cf7da13de..d8a944b10a 100644 --- a/docs/ref/contrib/csrf.txt +++ b/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