fix: few fixes for #312

This commit is contained in:
mario 2017-03-19 21:21:32 +01:00
parent e665b95643
commit dd3eb3e8c6
3 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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

View File

@ -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',