Browse Source

Added missing self in CSRF-Resource ctor

Sebastian Lohff 9 years ago
parent
commit
d04135c74c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      k4ever/api2/urls.py

+ 1
- 1
k4ever/api2/urls.py View File

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

Loading…
Cancel
Save