Difference between revisions of "Jinja2"

From BITPlan Wiki
Jump to navigation Jump to search
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* https://jinja.palletsprojects.com/en/2.11.x/
 
* https://jinja.palletsprojects.com/en/2.11.x/
 
= Template Handling =
 
= Template Handling =
* https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work
+
== Stackoverflow Questions ==
 +
* [https://stackoverflow.com/questions/38642557/how-to-load-jinja-template-directly-from-filesystem How to load jinja template directly from filesystem - 83 K Views]
 +
* [https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work Jinja2 {% include file %} outside of search path doesn't work - 2 K Views]
 +
* [https://stackoverflow.com/questions/30958118/flask-template-in-blueprint-inherit-from-template-in-app Flask: Template in Blueprint Inherit from Template in App? - 3 K Views]
 +
* [https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work Jinja2 {% include file %} outside of search path doesn't work - 2 K Views]
 +
* [https://stackoverflow.com/questions/14276829/html-templating-using-jinja2-lost/14276993#14276993 https://stackoverflow.com/questions/14276829/html-templating-using-jinja2-lost/14276993#14276993 - 7 K Views]
 +
* [https://stackoverflow.com/questions/15995524/flask-templates-including-incorrect-files Flask templates including incorrect files - 2 K Views]
 +
* [https://stackoverflow.com/questions/23987564/test-flask-render-template-context Test Flask render_template() context 13 K Views]
 +
* [https://stackoverflow.com/questions/17206728/attributeerror-nonetype-object-has-no-attribute-app AttributeError: 'NoneType' object has no attribute 'app' - 20 K Views]
 +
* [https://stackoverflow.com/questions/6036082/call-a-python-function-from-jinja2 https://stackoverflow.com/questions/6036082/call-a-python-function-from-jinja2 Call a python function from jinja2 - 145 K Views]
 +
* [https://stackoverflow.com/questions/51262531/flask-context-variable-not-available-in-template Flask context variable not available in template - 2 K Views]
 +
 
 +
== Environment ==
 +
 
 +
== Loaders ==
 +
*https://jinja.palletsprojects.com/en/master/api/#loaders
 +
 
 +
* http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.BaseLoader.html
 +
* http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.ChoiceLoader.html
 +
* http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.FileSystemLoader.html
 +
* http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.ModuleLoader.html
 +
* http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.PackageLoader.html
 +
* https://www.kite.com/python/docs/flask.templating.DispatchingJinjaLoader [https://github.com/pallets/flask/blob/ecb3450f19d3d817b4b857bb5831b309131b37e1/src/flask/templating.py#L39 source code]

Latest revision as of 09:27, 10 April 2021

Template Handling

Stackoverflow Questions

Environment

Loaders