#12 Changed djangorestframework-jwt to djangorestframework-simplejwt

This commit is contained in:
Ojakoo
2022-06-21 21:35:59 +03:00
parent 5eef2f685c
commit e70e598c57
5 changed files with 56 additions and 42 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ INSTALLED_APPS = [
"kaehmy",
"ohlhafv",
"rest_framework",
"rest_framework_jwt",
"rest_framework_simplejwt",
"django_nose",
"bootstrap3",
"django_tables2",
@@ -178,7 +178,7 @@ REST_FRAMEWORK = {
"rest_framework.permissions.IsAdminUser",
),
"DEFAULT_AUTHENTICATION_CLASSES": (
"rest_framework_jwt.authentication.JSONWebTokenAuthentication",
"rest_framework_simplejwt.authentication.JWTAuthentication",
),
# 'DEFAULT_THROTTLE_CLASSES': (
# 'members.throttles.BurstRateThrottle',