Commits

Jesper Nøhr committed adeef48 Merge
  • Participants
  • Parent commits ad479ae, 87c0fcf

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