debian: cancel hobo DRF configuration

This commit is contained in:
Thomas NOËL 2020-03-20 21:53:07 +01:00
parent 43fb0e5dfd
commit a75de37684
1 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,15 @@ PROJECT_NAME = 'zoo'
#
exec(open('/usr/lib/hobo/debian_config_common.py').read())
# get DRF auth configuration back (zoo is not a mellon/publik system)
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
),
'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',),
}
#
# local settings
#