Update dj_rest_auth/urls.py

Co-Authored-By: Daniele Tricoli <eriol@mornie.org>
This commit is contained in:
Michael 2020-04-16 00:28:14 -05:00 committed by GitHub
parent d882edcf10
commit 17e9230497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ urlpatterns = [
name='rest_password_change'),
]
if getattr(settings, 'REST_USE_JWT', True):
if getattr(settings, 'REST_USE_JWT', False):
from rest_framework_simplejwt.views import (
TokenRefreshView, TokenVerifyView,
)