|
|
@@ -150,7 +150,7 @@ REST_FRAMEWORK = { |
|
|
|
# Use Django's standard `django.contrib.auth` permissions, |
|
|
|
# or allow read-only access for unauthenticated users. |
|
|
|
'DEFAULT_PERMISSION_CLASSES': [ |
|
|
|
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly' |
|
|
|
'rest_framework.permissions.IsAuthenticatedOrReadOnly' |
|
|
|
], |
|
|
|
'DEFAULT_FILTER_BACKENDS': ( |
|
|
|
'django_filters.rest_framework.DjangoFilterBackend', |
|
|
|