Browse Source

Added missing self in CSRF-Resource ctor

master
Sebastian Lohff 10 years ago
parent
commit
d04135c74c
  1. 2
      k4ever/api2/urls.py

2
k4ever/api2/urls.py

@ -22,7 +22,7 @@ class CsrfExemptResource(Resource): @@ -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

Loading…
Cancel
Save