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 64d6aa5 commit 97779b0Copy full SHA for 97779b0
scancodeio/settings/base.py
@@ -244,7 +244,10 @@
244
"DEFAULT_AUTHENTICATION_CLASSES": (
245
"rest_framework.authentication.TokenAuthentication",
246
),
247
- "DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.AllowAny",),
+ "DEFAULT_PERMISSION_CLASSES": env.tuple(
248
+ "REST_FRAMEWORK_DEFAULT_PERMISSION_CLASSES",
249
+ default=("rest_framework.permissions.AllowAny",),
250
+ ),
251
"DEFAULT_RENDERER_CLASSES": (
252
"rest_framework.renderers.JSONRenderer",
253
"rest_framework.renderers.BrowsableAPIRenderer",
0 commit comments