debian: cancel hobo DRF configuration
This commit is contained in:
parent
43fb0e5dfd
commit
a75de37684
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue