A fast and easy to use template engine written in pure Python

Edit Package python-Jinja2

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 %}
{{ user.username }}
{% endfor %}

{% endblock %}
Refresh
Refresh
Source Files
Filename Size Changed
Jinja2-2.7.2.tar.gz 0000378300 369 KB
python-Jinja2.changes 0000007425 7.25 KB
python-Jinja2.spec 0000003386 3.31 KB
Revision 19 (latest revision is 55)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 213770 from Denisart Benjamin's avatar Denisart Benjamin (posophe) (revision 19)
- update to 2.7.2:
  - Prefix loader was not forwarding the locals properly to
    inner loaders.  This is now fixed.
  - Security issue: Changed the default folder for the filesystem cache to be
    user specific and read and write protected on UNIX systems.  See `Debian bug
    734747`_ for more information. (forwarded request 213701 from dirkmueller)
Comments 0
openSUSE Build Service is sponsored by