LogoopenSUSE Build Service > Projects
Sign Up | Log In

A fast and easy to use 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.  Here a small example of a Jinja template:

    {% extends 'base.html' %}
    {% block title %}Memberlist{% endblock %}
    {% block content %}
      {% for user in users %}
        <li><a href="{{ user.url }}">{{ user.username }}</a></li>
      {% endfor %}
    {% endblock %}

Source Files

Filename Size Changed Actions
Jinja2-2.8.tar.gz 349 KB Download File
python-Jinja2.changes 10.2 KB Download File
python-Jinja2.spec 3.46 KB Download File

Comments for home:garloff:OTC:python-save (0)

Login required, please login or signup in order to comment