aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorTom Christie2013-12-16 08:59:10 +0000
committerTom Christie2013-12-16 08:59:10 +0000
commitfc2dee844ab0ca77928f296f13777bf01d94e6fd (patch)
tree6c0b96f664be15c802f3cdcc300d157d30748d79 /rest_framework/compat.py
parent69fef838cce33b9079640f83cc03edc30f56f5f1 (diff)
downloaddjango-rest-framework-fc2dee844ab0ca77928f296f13777bf01d94e6fd.tar.bz2
Don't import compat.py from authtoken.models. Closes #1297
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index 88211bec..b69749fe 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -104,13 +104,6 @@ def get_concrete_model(model_cls):
return model_cls
-# Django 1.5 add support for custom auth user model
-if django.VERSION >= (1, 5):
- AUTH_USER_MODEL = settings.AUTH_USER_MODEL
-else:
- AUTH_USER_MODEL = 'auth.User'
-
-
if django.VERSION >= (1, 5):
from django.views.generic import View
else: