from .api import set_request


class GlobalRequestMiddleware(object):

    def process_request(self, request):
        set_request(request)

    def process_response(self, request, response):
        return response

@@ -1,8 +1,130 @@
+from django.utils.decorators import method_decorator%0Afrom django.views.decorators.debug import sensitive_post_parameters%0A%0A
 from .ap
@@ -186,16 +186,77 @@
 ject):%0A%0A
+    @method_decorator(sensitive_post_parameters('password'))%0A
     def 

mark password as sensitive for all requests via middleware