Skip to content

Commit b5a9712

Browse files
committed
DEFAULT_AUTHENTICATION_CLASSES 수정
1 parent 7a4d513 commit b5a9712

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyconkr/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@
207207
# YOUR SETTINGS
208208
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
209209
"DEFAULT_AUTHENTICATION_CLASSES": (
210+
'rest_framework.authentication.BasicAuthentication',
211+
'rest_framework.authentication.SessionAuthentication',
210212
"rest_framework_simplejwt.authentication.JWTAuthentication",
211213
"dj_rest_auth.jwt_auth.JWTCookieAuthentication",
212214
),

0 commit comments

Comments
 (0)