|
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/flask/ |
Upload File : |
�
-/�_c @ s� d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m
Z
d d l m Z d
� Z d e f d � � YZ d
e f d � � YZ
d � Z d � Z d � Z d S( s�
flask.templating
~~~~~~~~~~~~~~~~
Implements the bridge to Jinja2.
:copyright: 2010 Pallets
:license: BSD-3-Clause
i����( t
BaseLoader( t Environment( t TemplateNotFoundi ( t _app_ctx_stack( t _request_ctx_stack( t before_render_template( t template_renderedc C sa t j } t j } i } | d k r4 | j | d <n | d k r] | j | d <| j | d <n | S( sS Default template context processor. Injects `request`,
`session` and `g`.
t gt requestt sessionN( R t topR t NoneR R R ( t reqctxt appctxt rv( ( s1 /tmp/pip-install-sTXtzD/flask/flask/templating.pyt _default_template_ctx_processor s
R c B s e Z d Z d � Z RS( s� Works like a regular Jinja2 environment but has some additional
knowledge of how Flask's blueprint works so that it can prepend the
name of the blueprint to referenced templates if necessary.
c K s<