Commits

Jesper Nøhr committed adeef48 Merge

Comments (0)

Files changed (1)

piston/resource.py

             raise AttributeError, "Handler not callable."
 
         self.handler = handler()
+        self.csrf_exempt = getattr(self.handler, 'csrf_exempt', True)
 
         if not authentication:
             self.authentication = (NoAuthentication(),)