parent
84f1f7209c
commit
903ca3123c
@ -0,0 +1,13 @@ |
|||||||
|
|
||||||
|
# Rest Framework configuration |
||||||
|
REST_FRAMEWORK = { |
||||||
|
# Use Django's standard `django.contrib.auth` permissions, |
||||||
|
# or allow read-only access for unauthenticated users. |
||||||
|
# 'DEFAULT_PERMISSION_CLASSES': [ |
||||||
|
# 'rest_framework.permissions.IsAuthenticated', |
||||||
|
# ], |
||||||
|
'DEFAULT_AUTHENTICATION_CLASSES': [ |
||||||
|
'rest_framework.authentication.BasicAuthentication', |
||||||
|
'rest_framework.authentication.TokenAuthentication', |
||||||
|
] |
||||||
|
} |
||||||
Loading…
Reference in new issue