ó
    ½Rj°	  ã                   ób   • S r SSKrSSKJr  SSKJr  SSKJrJr  S r	S r
S rS	 rS
 rS rS rg)aR  
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 'context_processors' option of the configuration
of a DjangoTemplates backend and used by RequestContext.
é    N)Úsettings©Ú	get_token)ÚSimpleLazyObjectÚlazyc                 ó*   ^ • U 4S jnS[        U5      0$ )z”
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
c                  ó&   >• [        T5      n U c  gU $ )NÚNOTPROVIDEDr   )ÚtokenÚrequests    €ÚND:\diplom_project\venv\Lib\site-packages\django/template/context_processors.pyÚ_get_valÚcsrf.<locals>._get_val   s   ø€ Ü˜'Ó"ˆØ‰=ð !àˆLó    Ú
csrf_token)r   )r   r   s   ` r   Úcsrfr      s   ø€ õð Ô*¨8Ó4Ð5Ð5r   c                 óÔ   ^• 0 n[         R                  (       aO  U R                  R                  S5      [         R                  ;   a"  SUS'   SSKJm  [        U4S j[        5      US'   U$ )z1
Return context variables helpful for debugging.
ÚREMOTE_ADDRTÚdebugr   ©Úconnectionsc                  óh   >• [        [        R                  R                  U 4S jT  5       5      5      $ )Nc              3   óB   >#   • U  H  nTU   R                   v •  M     g 7f)N)Úqueries)Ú.0Úxr   s     €r   Ú	<genexpr>Ú*debug.<locals>.<lambda>.<locals>.<genexpr>1   s   øé € ð .Ú4?¨q�K ‘N×*Ö*²Kùs   ƒ)ÚlistÚ	itertoolsÚchainÚfrom_iterabler   s   €r   Ú<lambda>Údebug.<locals>.<lambda>0   s)   ø€ ”DÜ—‘×-Ñ-ô .Ù4?ó.ó ôr   Úsql_queries)	r   ÚDEBUGÚMETAÚgetÚINTERNAL_IPSÚ	django.dbr   r   r   )r   Úcontext_extrasr   s     @r   r   r   $   s]   ø€ ð €NÜ‡~‡~˜'Ÿ,™,×*Ñ*¨=Ó9¼X×=RÑ=RÓRØ"&ˆ�wÑÝ)ô )-ôô
 ó)
ˆ�}Ñ%ð Ðr   c                 ón   • SSK Jn  [        R                  UR	                  5       UR                  5       S.$ )Nr   )Útranslation)Ú	LANGUAGESÚLANGUAGE_CODEÚLANGUAGE_BIDI)Údjango.utilsr-   r   r.   Úget_languageÚget_language_bidi)r   r-   s     r   Úi18nr4   :   s2   € Ý(ô ×'Ñ'Ø$×1Ñ1Ó3Ø$×6Ñ6Ó8ñð r   c                 ó2   • SSK Jn  SUR                  5       0$ )Nr   )ÚtimezoneÚ	TIME_ZONE)r1   r6   Úget_current_timezone_name)r   r6   s     r   Útzr9   D   s   € Ý%à˜×;Ñ;Ó=Ð>Ð>r   c                 ó&   • S[         R                  0$ )z6
Add static-related context variables to the context.
Ú
STATIC_URL)r   r;   ©r   s    r   Ústaticr=   J   s   € ð œ(×-Ñ-Ð.Ð.r   c                 ó&   • S[         R                  0$ )z5
Add media-related context variables to the context.
Ú	MEDIA_URL)r   r?   r<   s    r   Úmediar@   Q   s   € ð œ×+Ñ+Ð,Ð,r   c                 ó
   • SU 0$ )Nr   © r<   s    r   r   r   X   s   € Ø�wÐÐr   )Ú__doc__r    Údjango.confr   Údjango.middleware.csrfr   Údjango.utils.functionalr   r   r   r   r4   r9   r=   r@   r   rB   r   r   Ú<module>rG      s;   ðñó å  Ý ,ß :ò6ò&ò,ò?ò/ò-ó r   