{ "info": { "author": "Federico Jaramillo Mart\u00ednez", "author_email": "federicojaramillom@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=====================\nJinja2 Django Version\n=====================\n\n.. image:: https://badge.fury.io/py/jinja2-python-version.svg\n :target: https://badge.fury.io/py/jinja2-django-version\n\n.. image:: https://travis-ci.org/jmfederico/jinja2-python-version.svg?branch=master\n :target: https://travis-ci.org/jmfederico/jinja2-django-version\n\nA Jinja extension that creates a global variable with Django version\ninformation for your Jinja2 templates:\n\nUsage\n-----\n.. code-block:: console\n\n $ pip install jinja2-django-version\n\n.. code-block:: python\n\n from jinja2 import Environment\n\n env = Environment(extensions=['jinja2_django_version.DjangoVersionExtension'])\n\n # 2.0\n template = env.from_string(\"{{ django_version }}\")\n\n # 2.0\n template = env.from_string(\"{{ django_version.minor }}\")\n\n # 2\n template = env.from_string(\"{{ django_version.major }}\")\n\n # 2.0.2\n template = env.from_string(\"{{ django_version.micro }}\")\n\n template.render()\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jmfederico/jinja2-django-version", "keywords": "jinja2,extension,django,versions", "license": "BSD-3-Clause", "maintainer": "Federico Jaramillo Mart\u00ednez", "maintainer_email": "federicojaramillom@gmail.com", "name": "jinja2-django-version", "package_url": "https://pypi.org/project/jinja2-django-version/", "platform": "", "project_url": "https://pypi.org/project/jinja2-django-version/", "project_urls": { "Homepage": "https://github.com/jmfederico/jinja2-django-version", "Repository": "https://github.com/jmfederico/jinja2-django-version" }, "release_url": "https://pypi.org/project/jinja2-django-version/1.1.2/", "requires_dist": [ "Jinja2 (>=2.0,<3.0)", "django (>=1.11)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "A Jinja2 extension that adds django version to templates.", "version": "1.1.2" }, "last_serial": 5833407, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "72c5226c03a89e89f1995717fd049f82", "sha256": "b92338a43b3168a13e73bad43bcbe5ac903fbe56a19022807621119e3c2b4c04" }, "downloads": -1, "filename": "jinja2-django-version-1.0.0.tar.gz", "has_sig": false, "md5_digest": "72c5226c03a89e89f1995717fd049f82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3043, "upload_time": "2018-02-16T22:36:08", "url": "https://files.pythonhosted.org/packages/ba/bd/4f55ce7948ab40d037125876a237074ee53701874d81215e1d203d842142/jinja2-django-version-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "871dd200c1d16756205e963f3f18315b", "sha256": "68f20dd98829f00a4c714c790132a76be3537346ac2e20c0c90eb533abbc8dba" }, "downloads": -1, "filename": "jinja2-django-version-1.1.0.tar.gz", "has_sig": false, "md5_digest": "871dd200c1d16756205e963f3f18315b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3049, "upload_time": "2018-02-17T04:06:42", "url": "https://files.pythonhosted.org/packages/2a/c4/5f04f5c3cfa20cd4ee23ffc02be3e1bf69182eaa3d08513b7d95c81395d3/jinja2-django-version-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "ca69dd5cb720e0be98eb3c6ab2df9112", "sha256": "ebb7600d1e014c71c9b1c4ff2babcf83188438b763044f63fb719c3d070df5e4" }, "downloads": -1, "filename": "jinja2_django_version-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ca69dd5cb720e0be98eb3c6ab2df9112", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3712, "upload_time": "2018-02-18T14:02:31", "url": "https://files.pythonhosted.org/packages/f5/92/cacbca4db2b134bd292fcf3b11368b8039662690d79edea2e35fb99bd6ba/jinja2_django_version-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc5401be66711862f7429664c0e2d456", "sha256": "8cdd893cd62bf759f0999069948c8d88f8e0e3c9eda47de9e065b5ed6ef21dac" }, "downloads": -1, "filename": "jinja2-django-version-1.1.1.tar.gz", "has_sig": false, "md5_digest": "cc5401be66711862f7429664c0e2d456", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3035, "upload_time": "2018-02-17T17:00:02", "url": "https://files.pythonhosted.org/packages/2e/f4/3b1c831b06e1a25f08a74f868183d06a9c56681e9277aa65a1a96a1b8061/jinja2-django-version-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "b82199a5694e3d7b34bd834822e3ab2f", "sha256": "fa18412e35b4279a154703372c9a862c414f6efa43017352dec3acfc2e54a61b" }, "downloads": -1, "filename": "jinja2_django_version-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b82199a5694e3d7b34bd834822e3ab2f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 3386, "upload_time": "2019-09-16T00:49:42", "url": "https://files.pythonhosted.org/packages/d7/5f/c6cc0456dfdc57ae671766d981036eb171a42734c5a1283a059f0779fb95/jinja2_django_version-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c46a4cdcef0157288e4b02a29b7533d", "sha256": "b216c1c6996f87ef6e906b4f396d52202f68dc7609ea01435e185d677e285326" }, "downloads": -1, "filename": "jinja2-django-version-1.1.2.tar.gz", "has_sig": false, "md5_digest": "1c46a4cdcef0157288e4b02a29b7533d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 2965, "upload_time": "2019-09-16T00:49:40", "url": "https://files.pythonhosted.org/packages/a9/cb/09ddbc368ad7575ce35e0d9b4a207ca626bc73ebf674a3f9568b24ab4a8b/jinja2-django-version-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b82199a5694e3d7b34bd834822e3ab2f", "sha256": "fa18412e35b4279a154703372c9a862c414f6efa43017352dec3acfc2e54a61b" }, "downloads": -1, "filename": "jinja2_django_version-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b82199a5694e3d7b34bd834822e3ab2f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 3386, "upload_time": "2019-09-16T00:49:42", "url": "https://files.pythonhosted.org/packages/d7/5f/c6cc0456dfdc57ae671766d981036eb171a42734c5a1283a059f0779fb95/jinja2_django_version-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c46a4cdcef0157288e4b02a29b7533d", "sha256": "b216c1c6996f87ef6e906b4f396d52202f68dc7609ea01435e185d677e285326" }, "downloads": -1, "filename": "jinja2-django-version-1.1.2.tar.gz", "has_sig": false, "md5_digest": "1c46a4cdcef0157288e4b02a29b7533d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 2965, "upload_time": "2019-09-16T00:49:40", "url": "https://files.pythonhosted.org/packages/a9/cb/09ddbc368ad7575ce35e0d9b4a207ca626bc73ebf674a3f9568b24ab4a8b/jinja2-django-version-1.1.2.tar.gz" } ] }