def sensitive_post_parameters(*parameters):
    def decorator(view):
        @functools.wraps(view)
        def sensitive_post_parameters_wrapper(request, *args, **kwargs):
            assert isinstance(request, HttpRequest), (
              "sensitive_post_parameters didn't receive an HttpRequest. If you "
              "are decorating a classmethod, be sure to use @method_decorator."
            )
            if parameters:
                request.sensitive_post_parameters = parameters
            else:
                request.sensitive_post_parameters = '__ALL__'
            return view(request, *args, **kwargs)
        return sensitive_post_parameters_wrapper
    return decorator
Indicates which POST parameters used in the decorated view are sensitive,
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/views/decorators/debug.py/sensitive_post_parameters