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