mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 20:06:35 +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)
|