Skip to main content

Jinja2 Django Version

https://badge.fury.io/py/jinja2-python-version.svg https://travis-ci.org/jmfederico/jinja2-python-version.svg?branch=master

A Jinja extension that creates a global variable with Django version information for your Jinja2 templates:

Usage

$ pip install jinja2-django-version
from jinja2 import Environment

env = Environment(extensions=['jinja2_django_version.DjangoVersionExtension'])

# 2.0
template = env.from_string("{{ django_version }}")

# 2.0
template = env.from_string("{{ django_version.minor }}")

# 2
template = env.from_string("{{ django_version.major }}")

# 2.0.2
template = env.from_string("{{ django_version.micro }}")

template.render()

Metadata

Release files for jinja2-django-version 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jinja2-django-version 1.1.2
File Size Uploaded Provenance Actions
jinja2-django-version-1.1.2.tar.gz 3.0 kB Without provenance Details for jinja2-django-version-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jinja2-django-version 1.1.2
File Interpreter ABI Platform Actions
jinja2_django_version-1.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for jinja2_django_version-1.1.2-py2.py3-none-any.whl

Total release size: 6.4 kB

Release files / jinja2-django-version-1.1.2.tar.gz

Download URL jinja2-django-version-1.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b216c1c6996f87ef6e906b4f396d52202f68dc7609ea01435e185d677e285326
BLAKE2b-256 checksum
How to use checksums
a9cb09ddbc368ad7575ce35e0d9b4a207ca626bc73ebf674a3f9568b24ab4a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.16 CPython/3.7.4 Darwin/18.7.0

Release files / jinja2_django_version-1.1.2-py2.py3-none-any.whl

Download URL jinja2_django_version-1.1.2-py2.py3-none-any.whl
Size 3.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fa18412e35b4279a154703372c9a862c414f6efa43017352dec3acfc2e54a61b
BLAKE2b-256 checksum
How to use checksums
d75fc6cc0456dfdc57ae671766d981036eb171a42734c5a1283a059f0779fb95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.16 CPython/3.7.4 Darwin/18.7.0

Security for jinja2-django-version 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page