Skip to content
Myr

update docs / changelog about python requirement, add myself to AUTHORS

Before adoption: this commit came in with the history the project adopted, so no landing records it.

also added 2 FIXMEs to intro.rst about the debugsupport for python 2.4 that needs to get removed

authored by Thomas Waldmann · committed by Thomas Waldmann · parent 07a7d55 · Browse files · 3 files+11 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+11 added−6 removed

  • other:+11 added−6 removed

3 files+11 added−6 removed

modified:docs/intro.rst+8 added-6 removed
1Introduction2============34This is the documentation for the Jinja2 general purpose templating language.5Jinja2 is a library for Python 2.4 and onwards that is designed to be flexible,6fast and secure.5Jinja2 is a library for Python that is designed to be flexible, fast and secure.67If you have any exposure to other text-based template languages, such as Smarty or8Django, you should feel right at home with Jinja2. It's both designer and9developer friendly by sticking to Python's principles and adding functionality
1 unmodified line
1112Prerequisites13-------------1416Jinja2 needs at least **Python 2.4** to run. Additionally a working C-compiler17that can create python extensions should be installed for the debugger if you18are using Python 2.4.15Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3.1617FIXME - this is outdated, code should get removed, docs fixed:18Additionally a working C-compiler that can create python extensions should be19installed for the debugger if you are using Python 2.4.2021If you don't have a working C-compiler and you are trying to install the source22release with the debugsupport you will get a compiler error.2324.. _ctypes: http://python.net/crew/theller/ctypes/
75 unmodified lines
100By default Jinja2 will not compile the debug support module. Enabling this101will fail if you don't have the Python headers or a working compiler. This102is often the case if you are installing Jinja2 from a windows machine.103104FIXME - outdated:105Because the debug support is only necessary for Python 2.4 you will not106have to do this unless you run 2.4::107108 sudo python setup.py --with-debugsupport install
28 unmodified lines
137138Experimental Python 3 Support139-----------------------------140139Jinja 2.3 brings experimental support for Python 3. It means that all141Jinja 2.7 brings experimental support for Python >=3.3. It means that all142unittests pass on the new version, but there might still be small bugs in143there and behavior might be inconsistent. If you notice any bugs, please144provide feedback in the `Jinja bug tracker`_.145
6 unmodified lines
modified:AUTHORS+1 added
27 unmodified lines
28- Cameron Knight29- Peter van Dijk (Habbie)30- Stefan Ebner31- Rene Leonhardt32- Thomas Waldmann
modified:CHANGES+2 added
13 unmodified lines
14 URL safe usage with utf-8 as only supported encoding. If applications15 want to change this encoding they can override the filter.16- Accessing `last` on the loop context no longer causes the iterator17 to be consumed into a list.18- Python requirement changed: 2.6, 2.7 or >= 3.3 are required now,19 supported by same source code, using the "six" compatibility library.2021Version 2.622-----------23(codename Convolution, released on July 24th 2011)
263 unmodified lines