Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

corrected import in tests.py

  • Loading branch information...
commit c1e2508f2e4797b4bbc3b0be306ce168c0a7a69b 1 parent 6f899bc
@brosner authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django_csrf/tests.py
View
3  django_csrf/tests.py
@@ -7,7 +7,8 @@
from django.template import RequestContext, Template
from django_csrf.context_processors import csrf
-from django_csrf.middleware import CsrfMiddleware, CsrfViewMiddleware, csrf_exempt
+from django_csrf.decorators import csrf_exempt
+from django_csrf.middleware import CsrfMiddleware, CsrfViewMiddleware
from django_csrf.utils.importlib import import_module
# Response/views used for CsrfResponseMiddleware and CsrfViewMiddleware tests
Please sign in to comment.
Something went wrong with that request. Please try again.