Pyramid-jinja2

Latest version: v2.10.1

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 7

0.6

================

- 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

================

- 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/12

- Depend upon Pyramid 1.0a10 + (to make ZCML work).

0.4

================

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

================

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

- Document all known settings.

0.2

================

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

0.1

================

- 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.

Page 7 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.