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:
|
||||
from django.db.models.auth import User
|
||||
user_model = User
|
||||
except ImportError:
|
||||
raise ImportError
|
||||
else:
|
||||
raise
|
||||
user_model = User
|
||||
except ImportError:
|
||||
raise ImportError
|
||||
else:
|
||||
raise
|
||||
|
||||
if VERSION[:2] in ((1, 5,),):
|
||||
from django.conf import settings
|
||||
|
|
Loading…
Reference in New Issue
Block a user