added api/history

This commit is contained in:
afanasyev.aa 2025-04-05 20:50:54 +09:00
parent 2aef4d4756
commit cc5187c3a1
15 changed files with 109 additions and 17 deletions

View file

@ -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',
]
}