Top "Jinja2" questions

Jinja2 is a fast template engine for Python.

Dashes in jinja templates

Found some of these in jinja files: </extension> {%- else -%} <extension name="blabla"> And also {% …

jinja2
Flask App Using WTForms with SelectMultipleField

I have a Flask application that uses WTForms for user input. It uses a SelectMultipleField in a form. I can't …

python flask jinja2 wtforms
How to convert a dictionary of dictionaries into a list of dictionaries in a Ansible vars file?

Within an Ansible vars file, I want to convert a dict of dicts into a list of dicts that I …

dictionary ansible jinja2 ansible-2.x
Jinja-like for Pdf in Python

I am looking for the best accurate tool for PDF in Python that works like Jinja does for HTML. What …

python pdf-generation jinja2
Pre-Populate an edit form with WTForms and Flask

I am able to add a new entry to my database using WTForms and Flask and I can edit too, …

python flask jinja2 flask-wtforms flask-bootstrap
Is it possible to use AngularJS with the Jinja2 template engine?

I have a Flask site and I want to use the AngularJS JavaScript framework. Unfortunately, it seems as if the …

python angularjs flask jinja2 delimiter
Print string when "item exists in a list" in Jinja2 template

I'm trying to populate nsswitch.conf with values that are determined from a list. The list is of string: openldap_…

ansible jinja2 ansible-template
ansible template add value to list -

based on the following ansible playbook values .. target: "actual.domain.com" aliases: - "alias1.domain.com" - "alias2.domain.com" …

ansible jinja2 ansible-template
Using flask_login session with jinja2 templates

I have simple jinja2 template with registration/login links, I should hide them when user logged in, I also use …

python python-2.7 flask jinja2 flask-login
Rendering Ansible template into the fact variable

Is there a way to render Ansible template into the fact? I tried to find a solution but it looks …

ansible jinja2 ansible-template