* oupsie
This commit is contained in:
parent
31412f25f0
commit
d7ddd9ed4b
|
|
@ -136,7 +136,7 @@ REST_FRAMEWORK = {
|
||||||
# or allow read-only access for unauthenticated users.
|
# or allow read-only access for unauthenticated users.
|
||||||
'DEFAULT_PERMISSION_CLASSES': [
|
'DEFAULT_PERMISSION_CLASSES': [
|
||||||
'rest_framework.permissions.IsAuthenticated'
|
'rest_framework.permissions.IsAuthenticated'
|
||||||
if DISABLE_PERMISSIONS
|
if not DISABLE_PERMISSIONS
|
||||||
else
|
else
|
||||||
'rest_framework.permissions.AllowAny'
|
'rest_framework.permissions.AllowAny'
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user