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