Module Import alias FunctionDef arguments args defaults vararg body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Str Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args defaults vararg body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Str Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list
N/A N/A functools sensitive_variables N/A N/A N/A variables N/A N/A 
    Indicates which variables used in the decorated function are sensitive, so
    that those variables can later be treated in a special way, for example
    by hiding them when logging unhandled exceptions.

    Two forms are accepted:

    * with specified variable names:

        @sensitive_variables('user', 'password', 'credit_card')
        def my_function(user):
            password = user.pass_word
            credit_card = user.credit_card_number
            ...

    * without any specified variable names, in which case it is assumed that
      all variables are considered sensitive:

        @sensitive_variables()
        def my_function()
            ...
     decorator N/A N/A func N/A N/A sensitive_variables_wrapper N/A N/A N/A args kwargs N/A N/A variables N/A N/A N/A sensitive_variables_wrapper sensitive_variables variables N/A N/A N/A sensitive_variables_wrapper sensitive_variables __ALL__ N/A N/A func args kwargs N/A N/A N/A functools wraps func N/A sensitive_variables_wrapper N/A N/A decorator N/A sensitive_post_parameters N/A N/A N/A parameters N/A N/A 
    Indicates which POST parameters used in the decorated view are sensitive,
    so that those parameters can later be treated in a special way, for example
    by hiding them when logging unhandled exceptions.

    Two forms are accepted:

    * with specified parameters:

        @sensitive_post_parameters('password', 'credit_card')
        def my_view(request):
            pw = request.POST['password']
            cc = request.POST['credit_card']
            ...

    * without any specified parameters, in which case it is assumed that
      all parameters are considered sensitive:

        @sensitive_post_parameters()
        def my_view(request)
            ...
     decorator N/A N/A view N/A N/A sensitive_post_parameters_wrapper N/A N/A request N/A args kwargs N/A N/A parameters N/A N/A N/A request sensitive_post_parameters parameters N/A N/A N/A request sensitive_post_parameters __ALL__ N/A N/A view request args kwargs N/A N/A N/A functools wraps view N/A sensitive_post_parameters_wrapper N/A N/A decorator N/A