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.10.3.tar.gz 0000257888 252 KB
python-Jinja2.changes 0000015571 15.2 KB
python-Jinja2.spec 0000003215 3.14 KB
Revision 37 (latest revision is 53)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 735867 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 37)
- Update to 2.10.3:
  * Fix Python 3.7 deprecation warnings.
  * Using range in the sandboxed environment uses xrange on Python 2 to avoid memory use. :issue:`933`
  * Use Python 3.7's better traceback support to avoid a core dump when using debug builds of Python 3.7. :issue:`1050`
  * Fix a typo in Babel entry point in setup.py that was preventing installation.
- Remove merged python38.patch
Comments 0
openSUSE Build Service is sponsored by