Skip to content

Commit 42083e8

Browse files
authored
Merge pull request #88 from golony6449/feature/golony/auth
DEFAULT_AUTHENTICATION_CLASSES 수정
2 parents b7b870b + b5a9712 commit 42083e8

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)