mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 00:56:34 +03:00
fix: few fixes for #312
This commit is contained in:
parent
e665b95643
commit
dd3eb3e8c6
|
@ -14,6 +14,6 @@ RegisterSerializer = import_callable(
|
|||
|
||||
def register_permission_classes():
|
||||
permission_classes = [AllowAny, ]
|
||||
for klass in getattr(settings, 'REST_AUTH_REGISTER_PERMISSION_CLASSES', tuple()):
|
||||
for klass in getattr(settings, 'REST_AUTH_REGISTER_PERMISSION_CLASSES', tuple()):
|
||||
permission_classes.append(import_callable(klass))
|
||||
return tuple(permission_classes)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
django-allauth>=0.19.1
|
||||
django-allauth>=0.25.0
|
||||
responses>=0.3.0
|
||||
flake8==2.4.0
|
||||
djangorestframework-jwt>=1.7.2
|
||||
|
|
Loading…
Reference in New Issue
Block a user