Added missing self in CSRF-Resource ctor

master
Sebastian Lohff 12 лет назад
Родитель b98648db19
Сommit d04135c74c

@ -22,7 +22,7 @@ class CsrfExemptResource(Resource):
"""
def __init__(self, handler, authentication = None):
Resource.__init__(handler, authentication)
Resource.__init__(self, handler, authentication)
self.csrf_exempt = getattr(self.handler, 'csrf_exempt', True)
# build authenticatiooors

Загрузка…
Отмена
Сохранить