Skip to main content

Jinja2 template bindings for the Pyramid web framework

Project description

`Jinja2 <http:http://jinja.pocoo.org>`_ bindings for Pyramid
============================================================

These are bindings for the `Jinja2 templating system`_ for the `Pyramid
<http://docs.pylonshq.com/>`_ web framework.

See the http://docs.pylonshq.com/pyramid_jinja2/dev/ for documentation.


0.4 (2010-12-16)
================

Paster Template
---------------

- Changes to normalize with default templates shipping with Pyramid core:
remove calls to ``config.begin()`` and ``config.end()`` from
``__init__.main``, entry point name changed to ``main``, entry
``__init__.py`` function name changed to ``main``, depend on WebError, use
``paster_plugins`` argument to setup function in setup.py, depend on
Pyramid 1.0a6+ (use ``config`` rather than ``configurator``).

Tests
-----

- Use ``testing.setUp`` and ``testing.tearDown`` rather than constructing a
Configurator (better fwd compat).

Features
--------

- Add ``model_url`` and ``route_url`` filter implementations (and
documented).

Documentation
-------------

- Use Makefile which pulls in Pylons theme automagically.

0.3 (2010-11-26)
================

- Add ``jinja2.filters`` and ``jinja2.extensions`` settings (thanks to
aodag).

- Document all known settings.

0.2 (2010-11-06)
================

- Template autoreloading did not function, even if ``reload_templates`` was
set to ``True``.

0.1 (2010-11-05)
================

- First release. *Not* backwards compatible with ``repoze.bfg.jinja2``: we
use a filesystem loader (the directories to load from come from the
``jinja2.directories`` setting). No attention is paid to the current
package when resolving a renderer= line.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyramid_jinja2-0.4.tar.gz (32.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page