mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-29 12:23:43 +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():
|
def register_permission_classes():
|
||||||
permission_classes = [AllowAny, ]
|
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))
|
permission_classes.append(import_callable(klass))
|
||||||
return tuple(permission_classes)
|
return tuple(permission_classes)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
django-allauth>=0.19.1
|
django-allauth>=0.25.0
|
||||||
responses>=0.3.0
|
responses>=0.3.0
|
||||||
flake8==2.4.0
|
flake8==2.4.0
|
||||||
djangorestframework-jwt>=1.7.2
|
djangorestframework-jwt>=1.7.2
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -38,12 +38,10 @@ setup(
|
||||||
},
|
},
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'responses>=0.5.0',
|
'responses>=0.5.0',
|
||||||
'django-allauth>=0.25.0',
|
|
||||||
'djangorestframework-jwt>=1.9.0',
|
'djangorestframework-jwt>=1.9.0',
|
||||||
],
|
],
|
||||||
test_suite='runtests.runtests',
|
test_suite='runtests.runtests',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
# cmdclass={},
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Framework :: Django',
|
'Framework :: Django',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user