mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
indent error
This commit is contained in:
parent
f0d4232c1d
commit
3c1b5c3435
|
@ -6,11 +6,11 @@ from django import VERSION
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from django.db.models.auth import User
|
from django.db.models.auth import User
|
||||||
user_model = User
|
user_model = User
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ImportError
|
raise ImportError
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
if VERSION[:2] in ((1, 5,),):
|
if VERSION[:2] in ((1, 5,),):
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user