mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-24 07:33:07 +11:00
4 lines
127 B
Python
4 lines
127 B
Python
|
class DisableCSRF(object):
|
||
|
def process_request(self, request):
|
||
|
setattr(request, '_dont_enforce_csrf_checks', True)
|