added api/history
This commit is contained in:
parent
2aef4d4756
commit
cc5187c3a1
15 changed files with 109 additions and 17 deletions
|
|
@ -142,11 +142,10 @@ REST_FRAMEWORK = {
|
|||
# ВАШИ НАСТРОЙКИ
|
||||
'DEFAULT_SCHEMA_CLASS': 'drf_spectacular.openapi.AutoSchema',
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
# 'rest_framework.authentication.TokenAuthentication',
|
||||
# 'rest_framework.permissions.AllowAny',
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
],
|
||||
'DEFAULT_PERMISSION_CLASSES': [
|
||||
#'rest_framework.permissions.IsAuthenticated',
|
||||
'rest_framework.permissions.AllowAny',
|
||||
'rest_framework.permissions.IsAuthenticated',
|
||||
#'rest_framework.permissions.AllowAny',
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue