jinja2 extensions that add django tags
Project description
This little library contains extensions for jinja2 that add template tags to jinja2 that your are used to from django templates.
The following tags are included:
csrf_token
trans and blocktrans
static
url
There is also an extension for localizing template variables.
Requirements
This library requires at least Django 1.8 because there official jinja2 support was added.
If you want to use jinja2 templates in older versions of Django, take a look at django-jinja.
Also it has only been tested for Python 2.7 and 3.4, and Jinja2 2.7 and 2.8.
For more information see the github page.
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
jinja2-django-tags-0.2.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for jinja2_django_tags-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25553aa1a347f012599499a458aa25c6ab7eeeba6e33927306f92d3d2120cbb |
|
MD5 | 1d6392db4ce115f9a83e6f147940b859 |
|
BLAKE2b-256 | 17cec3d076b1a05e7432a7926e0a11e8ea05ababe3700ce03c18c024b8a5006d |