add api_secret auth and (mostly) finalize firmware endpoint

This commit is contained in:
Laura Klünder 2023-11-05 19:09:36 +01:00
parent 9e9e41fb3f
commit aa2df8d3c5
6 changed files with 123 additions and 4 deletions

View file

@ -317,6 +317,7 @@ USE_TZ = True
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.SessionAuthentication',
'c3nav.api.auth.APISecretAuthentication',
),
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.AllowAny',