aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/authentication.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/authentication.py')
-rw-r--r--djangorestframework/authentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/authentication.py b/djangorestframework/authentication.py
index be22103e..806021fe 100644
--- a/djangorestframework/authentication.py
+++ b/djangorestframework/authentication.py
@@ -8,7 +8,7 @@ The set of authentication methods which are used is then specified by setting th
"""
from django.contrib.auth import authenticate
-from django.middleware.csrf import CsrfViewMiddleware
+from djangorestframework.compat import CsrfViewMiddleware
from djangorestframework.utils import as_tuple
import base64