0001-add-hobo-rest_authentication-class-to-service-9974.patch
debian/debian_config_common.py | ||
---|---|---|
196 | 196 |
BROKER_TASK_EXPIRES = 120 |
197 | 197 | |
198 | 198 |
STATICS_HASH_COUNTER = '/var/lib/publik/statics-counter' |
199 | ||
200 |
if 'rest_framework' in INSTALLED_APPS: |
|
201 |
REST_FRAMEWORK = { |
|
202 |
'DEFAULT_AUTHENTICATION_CLASSES': ( |
|
203 |
'rest_framework.authentication.SessionAuthentication', |
|
204 |
'rest_framework.authentication.BasicAuthentication', |
|
205 |
'hobo.rest_authentication.PublikAuthentication' |
|
206 |
) |
|
207 |
} |
|
199 |
- |