Projet

Général

Profil

0001-add-hobo-rest_authentication-class-to-service-9974.patch

Josué Kouka, 15 février 2016 18:17

Télécharger (954 octets)

Voir les différences:

Subject: [PATCH] add hobo rest_authentication class to service (#9974)

 debian/debian_config_common.py | 9 +++++++++
 1 file changed, 9 insertions(+)
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
-