From d04135c74c8c2c2433d12dbc2dcc88381651bcfc Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 26 May 2012 18:47:12 +0200 Subject: [PATCH] Added missing self in CSRF-Resource ctor --- k4ever/api2/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k4ever/api2/urls.py b/k4ever/api2/urls.py index 538625a..df4b8a5 100644 --- a/k4ever/api2/urls.py +++ b/k4ever/api2/urls.py @@ -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