create_global_jinja_loader() — flask Function Reference
Architecture documentation for the create_global_jinja_loader() function in app.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 25995efa_e089_6027_3808_3fb8a1179de8["create_global_jinja_loader()"] 38f6d4a2_834e_2acd_e1b6_f45c58079ccd["App"] 25995efa_e089_6027_3808_3fb8a1179de8 -->|defined in| 38f6d4a2_834e_2acd_e1b6_f45c58079ccd style 25995efa_e089_6027_3808_3fb8a1179de8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/sansio/app.py lines 520–531
def create_global_jinja_loader(self) -> DispatchingJinjaLoader:
"""Creates the loader for the Jinja environment. Can be used to
override just the loader and keeping the rest unchanged. It's
discouraged to override this function. Instead one should override
the :meth:`jinja_loader` function instead.
The global loader dispatches between the loaders of the application
and the individual blueprints.
.. versionadded:: 0.7
"""
return DispatchingJinjaLoader(self)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does create_global_jinja_loader() do?
create_global_jinja_loader() is a function in the flask codebase, defined in src/flask/sansio/app.py.
Where is create_global_jinja_loader() defined?
create_global_jinja_loader() is defined in src/flask/sansio/app.py at line 520.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free