mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
ee0fc79a3e
This is a way simpler project structure, its also backwards compatible. Its a huge cleanup and should make further development and also 3rd party integration much easier.
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)
|