| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/template/__pycache__/ |
Upload File : |
�
�|�eh � �d � d Z ddlZddlmZ ddlmZ ddlmZmZ d� Z d� Z
d� Zd � Zd
� Z
d� Zd� ZdS )
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 �0 � � � fd�}dt |� � iS )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 �� � } | �dS | S )N�NOTPROVIDEDr )�token�requests ��D/usr/lib/python3/dist-packages/django/template/context_processors.py�_get_valzcsrf.<locals>._get_val s! �� ��'�"�"���=� !�=��L� �
csrf_token)r )r r s ` r
�csrfr s2 �� �
� � � � �
�*�8�4�4�5�5r c � �� i }t j rL| j � d� � t j v r&d|d<