We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5d135 commit 8305707Copy full SHA for 8305707
config/settings/base.py
@@ -307,6 +307,7 @@
307
"DEFAULT_AUTHENTICATION_CLASSES": (
308
"rest_framework.authentication.SessionAuthentication",
309
"rest_framework.authentication.TokenAuthentication",
310
+ "rest_framework.authentication.BasicAuthentication",
311
'rest_framework_simplejwt.authentication.JWTAuthentication',
312
),
313
"DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.IsAuthenticatedOrReadOnly",),
@@ -333,4 +334,4 @@
333
334
# ------------------------------------------------------------------------------
335
CORS_ALLOWED_ORIGINS = [
336
"http://localhost:3000",
-]
337
+]
0 commit comments