aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorJonas Liljestrand2012-11-17 23:51:05 +0100
committerJonas Liljestrand2012-11-17 23:51:05 +0100
commit9f378d0dd44789cb98f3409604d9130d7a0032a8 (patch)
tree7bbf8a0053b7da5e985cfbe7a8de42d7962e361b /rest_framework/compat.py
parent8eb4bb8090a84282c3537641e8ecb5c38a33fc41 (diff)
downloaddjango-rest-framework-9f378d0dd44789cb98f3409604d9130d7a0032a8.tar.bz2
fixed bug
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index d5ad2a7a..2f59be95 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -36,7 +36,7 @@ if django.VERSION >= (1, 5):
from django.contrib.auth.models import User
else:
try:
- from django.db.models.auth import User
+ from django.contrib.auth.models import User
except ImportError:
raise ImportError('User model is not to be found.')