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 :  /usr/lib64/python2.7/site-packages/django/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/core/context_processors.pyc
�
r�\c@s�dZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZd�Z
d	�Zd
�Zd�Zd�Zd
�Zd�ZdS(u(
A set of request processors that return dictionaries to be merged into a
template context. Each function takes the request object as its only parameter
and returns a dictionary to add to the context.

These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by
RequestContext.
i����(tunicode_literals(tsettings(t	get_token(tsix(t
smart_text(tlazycs/�fd�}t|tj�}i|�d6S(u�
    Context processor that provides a CSRF token, or the string 'NOTPROVIDED' if
    it has not been provided by either a view decorator or the middleware
    cs*t��}|dkrdSt|�SdS(NuNOTPROVIDED(RtNoneR(ttoken(trequest(s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pyt_get_valsu
csrf_token(RRt	text_type(RR	((Rs@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pytcsrfs	cCsXi}tjrT|jjd�tjkrTt|d<ddlm}|j|d<n|S(u0Returns context variables helpful for debugging.uREMOTE_ADDRudebugi����(t
connectionusql_queries(	RtDEBUGtMETAtgettINTERNAL_IPStTruet	django.dbRtqueries(Rtcontext_extrasR((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pytdebug$s$
cCsGddlm}i}tj|d<|j�|d<|j�|d<|S(Ni����(ttranslationu	LANGUAGESu
LANGUAGE_CODEu
LANGUAGE_BIDI(tdjango.utilsRRt	LANGUAGEStget_languagetget_language_bidi(RRR((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pyti18n-s
cCs!ddlm}i|j�d6S(Ni����(ttimezoneu	TIME_ZONE(RRtget_current_timezone_name(RR((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pyttz7scCsitjd6S(u@
    Adds static-related context variables to the context.

    u
STATIC_URL(Rt
STATIC_URL(R((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pytstatic<scCsitjd6S(u?
    Adds media-related context variables to the context.

    u	MEDIA_URL(Rt	MEDIA_URL(R((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pytmediaCscCsi|d6S(Nurequest((R((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pyRJsN(t__doc__t
__future__Rtdjango.confRtdjango.middleware.csrfRRRtdjango.utils.encodingRtdjango.utils.functionalRRRRRR R"R(((s@/tmp/pip-install-XxeQeY/django/django/core/context_processors.pyt<module>s				
			

https://t.me/AnonymousX5 - 2025