From a22a53d1da486f155e843630583c2a76453aae14 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 31 Mar 2007 20:44:33 +0200 Subject: [PATCH] [svn] added jinja changelog and missing file jinja.constants --HG-- branch : trunk --- CHANGES | 29 +++++++++++++++++++++++++++++ jinja/constants.py | 31 +++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 CHANGES create mode 100644 jinja/constants.py diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..b63041c --- /dev/null +++ b/CHANGES @@ -0,0 +1,29 @@ +Jinja Changelog +=============== + +Version 1.1 +----------- +(codename to be selected, release date unknown) + +- blocks now support ``{{ super() }}`` to render the parent output. + +- debugging system improved, smaller filesize for the cached files. + +- added whitespace management system for the template designer. + +- some small bugfixes. + +- improved security system regarding function calls. + +- added `lipsum` function + +- strings without unicode characters are processed as binary strings now + to workaround problems with `datetime.strftime` which only accepts + binary strings. + + +Version 1.0 +----------- +(released Mar 23, 2007) + +- Initial release diff --git a/jinja/constants.py b/jinja/constants.py new file mode 100644 index 0000000..be66e0b --- /dev/null +++ b/jinja/constants.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +""" + jinja.constants + ~~~~~~~~~~~~~~~ + + Various constants. + + :copyright: 2007 by Armin Ronacher. + :license: BSD, see LICENSE for more details. +""" + + +LOREM_IPSUM_WORDS = u'''\ +a ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at +auctor augue bibendum blandit class commodo condimentum congue consectetuer +consequat conubia convallis cras cubilia cum curabitur curae cursus dapibus +diam dictum dictumst dignissim dis dolor donec dui duis egestas eget eleifend +elementum elit enim erat eros est et etiam eu euismod facilisi facilisis fames +faucibus felis fermentum feugiat fringilla fusce gravida habitant habitasse hac +hendrerit hymenaeos iaculis id imperdiet in inceptos integer interdum ipsum +justo lacinia lacus laoreet lectus leo libero ligula litora lobortis lorem +luctus maecenas magna magnis malesuada massa mattis mauris metus mi molestie +mollis montes morbi mus nam nascetur natoque nec neque netus nibh nisi nisl non +nonummy nostra nulla nullam nunc odio orci ornare parturient pede pellentesque +penatibus per pharetra phasellus placerat platea porta porttitor posuere +potenti praesent pretium primis proin pulvinar purus quam quis quisque rhoncus +ridiculus risus rutrum sagittis sapien scelerisque sed sem semper senectus sit +sociis sociosqu sodales sollicitudin suscipit suspendisse taciti tellus tempor +tempus tincidunt torquent tortor tristique turpis ullamcorper ultrices +ultricies urna ut varius vehicula vel velit venenatis vestibulum vitae vivamus +viverra volutpat vulputate''' -- 2.26.2