https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/django/views/decorators/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/views/decorators/debug.pyc
�
r�\c@s2ddlZddlmZd�Zd�ZdS(i����N(tHttpRequestcs�fd�}|S(s�
    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()
            ...
    cs(tj�����fd����S(Ncs(�r��_n	d�_�||�S(Nt__ALL__(tsensitive_variables(t	func_argstfunc_kwargs(tfunctsensitive_variables_wrappert	variables(s?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyRs	(t	functoolstwraps(R(R(RRs?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyt	decorators$((RR
((Rs?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyRs	cs�fd�}|S(s�
    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)
            ...
    cs%tj����fd��}|S(NcsFt|t�std���r-�|_n	d|_�|||�S(Nssensitive_post_parameters didn't receive an HttpRequest. If you are decorating a classmethod, be sure to use @method_decorator.R(t
isinstanceRtAssertionErrortsensitive_post_parameters(trequesttargstkwargs(t
parameterstview(s?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyt!sensitive_post_parameters_wrapperAs		(RR	(RR(R(Rs?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyR
@s!((RR
((Rs?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyR
)s
(Rtdjango.httpRRR
(((s?/tmp/pip-install-XxeQeY/django/django/views/decorators/debug.pyt<module>s	#

https://t.me/AnonymousX5 - 2025