diff options
| author | Jonas Liljestrand | 2012-11-17 23:51:05 +0100 |
|---|---|---|
| committer | Jonas Liljestrand | 2012-11-17 23:51:05 +0100 |
| commit | 9f378d0dd44789cb98f3409604d9130d7a0032a8 (patch) | |
| tree | 7bbf8a0053b7da5e985cfbe7a8de42d7962e361b /rest_framework/compat.py | |
| parent | 8eb4bb8090a84282c3537641e8ecb5c38a33fc41 (diff) | |
| download | django-rest-framework-9f378d0dd44789cb98f3409604d9130d7a0032a8.tar.bz2 | |
fixed bug
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 |
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.') |
