|
|
|
@ -115,7 +115,7 @@ REST_FRAMEWORK = { |
|
|
|
# Use Django's standard `django.contrib.auth` permissions, |
|
|
|
# Use Django's standard `django.contrib.auth` permissions, |
|
|
|
# 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.DjangoModelPermissionsOrAnonReadOnly' |
|
|
|
'rest_framework.authentication.BasicAuthentication' |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|