Jinja2 template bindings for the Pyramid web framework
Project description
Jinja2 bindings for Pyramid
These are bindings for the Jinja2 templating system for the Pyramid web framework.
See http://docs.pylonsproject.org/projects/pyramid_jinja2/dev/ for documentation or index.rst in the docs sub directory of the source distribution.
0.6.1 (2011-03-03)
Asset-based loading now takes precedance and does not require “asset:” prefix
Fixed the “current” package mechanism of asset: loading so that it more accurately finds the current package
Dependency on pyramid_zcml removed.
0.6 (2011-02-15)
Documentation overhauled.
Templates can now be looked up by asset spec completely bypassing the search path by specifying a prefix of asset:.
Updated paster template to more closely relate to changes made to paster templmates in Pyramid core.
Add new directive add_jinja2_search_path to the configurator when includeme is used.
0.5 (2011-01-18)
Add includeme function (meant to be used via config.include).
Fix documentation bug related to paster create reported at https://github.com/Pylons/pyramid_jinja2/issues#issue/12
Depend upon Pyramid 1.0a10 + (to make ZCML work).
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyramid_jinja2-0.6.1.tar.gz.
File metadata
- Download URL: pyramid_jinja2-0.6.1.tar.gz
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed9bb411f8f171b11bba2cee6eece08d2bf7fd4bf3e5f9d7eb4ca3450a05ac3f
|
|
| MD5 |
4867ada3512b1d5b4cb56e1288af6d3c
|
|
| BLAKE2b-256 |
bd4a308966b44c9e28414975eff0824c6729d253ced51aa945062fb4470cc1df
|