Jinja2 2.7.2

Small, fast and easy-to-use template engine.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
5.0/5 1
DEVELOPED BY:
Armin Ronacher
HOMEPAGE:
jinja.pocoo.org
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
Jinja2 is a small but fast and easy to use stand-alone template engine written in pure Python.

Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.

Nutshell

Here a small example of a Jinja template:

{% extends 'base.html' %}
{% block title %}Memberlist{% endblock %}
{% block content %}
 
 {% for user in users %}
 {{ user.username }}
 {% endfor %}
 
{% endblock %}


Philosophy

Application logic is for the controller but don't try to make the life for the template designer too hard by giving him too few functionality.

Last updated on July 26th, 2011

requirements

#template engine #non-XML syntax #inline expressions #Python #Django #template #engine

Add your review!

SUBMIT