Added missing self in CSRF-Resource ctor
This commit is contained in:
parent
b98648db19
commit
d04135c74c
|
@ -22,7 +22,7 @@ class CsrfExemptResource(Resource):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, handler, authentication = None):
|
def __init__(self, handler, authentication = None):
|
||||||
Resource.__init__(handler, authentication)
|
Resource.__init__(self, handler, authentication)
|
||||||
self.csrf_exempt = getattr(self.handler, 'csrf_exempt', True)
|
self.csrf_exempt = getattr(self.handler, 'csrf_exempt', True)
|
||||||
|
|
||||||
# build authenticatiooors
|
# build authenticatiooors
|
||||||
|
|
Loading…
Reference in New Issue