Commits

Jesper Nøhr  committed 87c0fcf
  • Participants
  • Parent commits 72a636f

Comments (0)

Files changed (1)

File 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(),)