added support for Python 3.2 by using Jinja 2.6