Skip to main content

jinja2 extensions that add django tags

Project description

This little library contains extensions for jinja2 that add template tags to jinja2 that you are used to from django templates.

The following tags are included:

  • csrf_token

  • trans and blocktrans

  • now

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

This library has been tested on Python 2.7, 3.4 and 3.5, Jinja 2.7 and 2.8, and Django 1.8, 1.9 and 1.10.

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.5.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jinja2_django_tags-0.5-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file jinja2-django-tags-0.5.tar.gz.

File metadata

File hashes

Hashes for jinja2-django-tags-0.5.tar.gz
Algorithm Hash digest
SHA256 43cb5150216ebc2a9c0e250f5277fb84b649cd2f125feaa6fc4937f1b3ae8f22
MD5 2427dcb3cf8234df22da4444f45e5cd2
BLAKE2b-256 2dc09612be08db0b5d97cdd3d5d4be5b64c2e5fac7e0e4e62f218f54b6465537

See more details on using hashes here.

File details

Details for the file jinja2_django_tags-0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jinja2_django_tags-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 383b85dd376b4376e102bcbbdcae45a589ede3dc2885422261111fc481f7b186
MD5 fd0c437ba09516a7c3effc4093001018
BLAKE2b-256 239632fbb94623a02e01eee51f8771ec276accf4d2e57d7c2643e3bb01fef616

See more details on using hashes here.

Supported by

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