{ "info": { "author": "Vasek Dohnal", "author_email": "vaclav.dohnal@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: MIT 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 :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "====================================================\nDjango Active View: *Highlight active items in menu*\n====================================================\n\n.. image:: https://img.shields.io/pypi/v/django-activeview.svg\n :target: https://pypi.python.org/pypi/django-activeview\n :alt: PyPi\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://pypi.python.org/pypi/django-activeview/\n :alt: MIT\n\n.. image:: https://img.shields.io/travis/illagrenan/django-activeview.svg\n :target: https://travis-ci.org/illagrenan/django-activeview\n :alt: TravisCI\n\n.. image:: https://img.shields.io/coveralls/illagrenan/django-activeview.svg\n :target: https://coveralls.io/github/illagrenan/django-activeview?branch=master\n :alt: Coverage\n\n.. image:: https://pyup.io/repos/github/illagrenan/django-activeview/shield.svg\n :target: https://pyup.io/repos/github/illagrenan/django-activeview/\n :alt: Updates\n\n.. image:: https://img.shields.io/pypi/implementation/django-activeview.svg\n :target: https://pypi.python.org/pypi/django_brotli/\n :alt: Supported Python implementations\n\n.. image:: https://img.shields.io/pypi/pyversions/django-activeview.svg\n :target: https://pypi.python.org/pypi/django_brotli/\n :alt: Supported Python versions\n\nIntroduction\n------------\n\nDjango template tag that checks if given view or path is active.\n\nInstallation\n------------\n\n- Supported Python versions are: ``2.7``, ``3.4``, ``3.5``, ``3.6`` and ``pypy``.\n- Supported Django versions are: ``1.8.x``, ``1.9.x``, ``1.10.x`` and `1.11.x`.\n\n.. code:: shell\n\n pip install --upgrade django-activeview\n\n\nAdd ``activeview`` to ``INSTALLED_APPS``:\n\n.. code:: python\n\n INSTALLED_APPS = [\n # ...\n 'activeview',\n # ...\n ]\n\nUsage\n-----\n\nTemplate tag ``isactive`` accepts name of url OR path.\n\n.. code:: html+django\n\n {% load activeview %}\n\n {% isactive \"/\" %}\n Root path (\"/\") is active\n {% endisactive %}\n\n Or:\n\n {% isactive \"index\" %}\n Url with name \"index\" is active\n {% endisactive %}\n\n Else is supported:\n\n {% isactive \"contact_us\" %}\n Url with name \"contact_us\" is active.\n {% else %}\n \"contact_us\" is NOT active\n {% endisactive %}\n\n\n\n\nInspiration and Credits\n-----------------------\n\n- https://github.com/j4mie/django-activelink\n- http://stackoverflow.com/a/18772289/752142\n\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2016\u20132017 Va\u0161ek Dohnal (@illagrenan)\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/illagrenan/django-activeview", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-activeview", "package_url": "https://pypi.org/project/django-activeview/", "platform": "", "project_url": "https://pypi.org/project/django-activeview/", "project_urls": { "Homepage": "https://github.com/illagrenan/django-activeview" }, "release_url": "https://pypi.org/project/django-activeview/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Django template tag that checks if given view or path is active.", "version": "0.1.3" }, "last_serial": 2760645, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "af20fb41c93f66217df95cdd4c838d54", "sha256": "01e6092031646abb2e5288734e799e00e981f33bfe33b0184ef466d682fd1741" }, "downloads": -1, "filename": "django_activeview-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "af20fb41c93f66217df95cdd4c838d54", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8219, "upload_time": "2016-08-10T23:39:12", "url": "https://files.pythonhosted.org/packages/c4/37/37d58ff9baa8df2817007ea08f3a485dfebcb94cee0328bd8d6355d358fc/django_activeview-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "05a7841cc23e566de685e4e3ca31b94b", "sha256": "99bc6333355d07eff9250489dd86e2617c62097b12da2ce97c50dd3e53b8ed8c" }, "downloads": -1, "filename": "django-activeview-0.1.0.zip", "has_sig": false, "md5_digest": "05a7841cc23e566de685e4e3ca31b94b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11687, "upload_time": "2016-08-10T23:38:56", "url": "https://files.pythonhosted.org/packages/b4/06/131a30b54f656f58feafa7cb1561efe7ad50b269311aee02e58aa9ffb183/django-activeview-0.1.0.zip" } ], "0.1.0.1": [ { "comment_text": "", "digests": { "md5": "149b7fb677b28ab5a1ebd2402345d5d0", "sha256": "cf49dd2d2592241326e8c378c889673fb311ebdf40a091d5ba2d2dcdb6234e50" }, "downloads": -1, "filename": "django_activeview-0.1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "149b7fb677b28ab5a1ebd2402345d5d0", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8249, "upload_time": "2016-08-10T23:56:52", "url": "https://files.pythonhosted.org/packages/c3/e9/8ea76da63348273e2dad209e7163a8c8c98470ea383b45d8f2dd9ea8bc89/django_activeview-0.1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b71196a64d9eefc79c1ecd8f2524ddf4", "sha256": "3b9572ef32965e236ac093f80f61daccf26a4a70b2fc1f2d8846448890b486da" }, "downloads": -1, "filename": "django-activeview-0.1.0.1.zip", "has_sig": false, "md5_digest": "b71196a64d9eefc79c1ecd8f2524ddf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11725, "upload_time": "2016-08-10T23:56:36", "url": "https://files.pythonhosted.org/packages/87/27/a10dd898135a86b98de854cb8a9f909d1686423f125b857967f631c435ed/django-activeview-0.1.0.1.zip" } ], "0.1.0.2": [ { "comment_text": "", "digests": { "md5": "ed946fd581b34db1112f101f7cccd27b", "sha256": "45258114a0721ea3b9512aca285bd30b9d87b5718fd4f2545e65d04f2fdcadd4" }, "downloads": -1, "filename": "django_activeview-0.1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ed946fd581b34db1112f101f7cccd27b", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8247, "upload_time": "2016-08-11T00:07:37", "url": "https://files.pythonhosted.org/packages/8a/36/b004345b469ac915e14ce951841d50444e394e595432f4de5fcf7763ed3f/django_activeview-0.1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd883511cc9d6c4bc13c7ad6e55b20b1", "sha256": "652cf5c014a5c5345b703ec930fe414d954600f450e02e0ce9a101cc6c733f73" }, "downloads": -1, "filename": "django-activeview-0.1.0.2.zip", "has_sig": false, "md5_digest": "dd883511cc9d6c4bc13c7ad6e55b20b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11763, "upload_time": "2016-08-11T00:07:19", "url": "https://files.pythonhosted.org/packages/c9/49/d35d4ea720a893d08f2dc126c061599dcb0e4f58916c03819dc6c9cb9242/django-activeview-0.1.0.2.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "60fac2fe02018816067f24b137b814e1", "sha256": "f7274b3d87189f5a31140701ecfef278af8f0fe1e3aa7aaa3e42e481cceb784d" }, "downloads": -1, "filename": "django_activeview-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "60fac2fe02018816067f24b137b814e1", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8187, "upload_time": "2016-12-06T00:08:23", "url": "https://files.pythonhosted.org/packages/73/48/0ecca3fceba40a2a0cbd24f32278e54e2c33978d4472102138df08c3ad8e/django_activeview-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "097bfa1ee6851c86ab09307986640e34", "sha256": "a5d1271df39836ac43cab90c4d869feaa3fddd79ee25cfa8daee15e807114e0d" }, "downloads": -1, "filename": "django-activeview-0.1.1.tar.gz", "has_sig": false, "md5_digest": "097bfa1ee6851c86ab09307986640e34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4883, "upload_time": "2016-12-06T00:08:16", "url": "https://files.pythonhosted.org/packages/d1/6d/984d75f352bd16b6c2158ef1695bec3c89884522509ca991685ce58218c7/django-activeview-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e231ce1f02091b56731dfa6a616ce1d1", "sha256": "0eca9b6827192eee4e9f4b8981d5a3b0c657ac559c9e719a61e04e6b44b5a472" }, "downloads": -1, "filename": "django_activeview-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e231ce1f02091b56731dfa6a616ce1d1", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8175, "upload_time": "2016-12-06T00:09:52", "url": "https://files.pythonhosted.org/packages/78/db/244358427c0f84d6ad9838acea34ffeb1c63783655af06f1c924147a1e86/django_activeview-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78c69fcfb89176ce75541c0a915c3b70", "sha256": "0cf6c23f3089abeef89e9a6b73b362ec3e0ab5486e287a54bfff5acd13cd8525" }, "downloads": -1, "filename": "django-activeview-0.1.2.tar.gz", "has_sig": false, "md5_digest": "78c69fcfb89176ce75541c0a915c3b70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4885, "upload_time": "2016-12-06T00:09:48", "url": "https://files.pythonhosted.org/packages/f0/03/acaf1e2bf0410420f4960adf05dbbb2b946eb2110ddf8491169b2d7074f1/django-activeview-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "998164fb777ade5e28254e56192df6b4", "sha256": "908c0fc20624c016a8fb80dc822de695a6466f94e1d38e473fc952147b488ef0" }, "downloads": -1, "filename": "django_activeview-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "998164fb777ade5e28254e56192df6b4", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 8303, "upload_time": "2017-04-07T16:39:19", "url": "https://files.pythonhosted.org/packages/91/f7/4d6e968f846976870c06ced82a564a19ac566506fe8112ea1f7a2e5f14b7/django_activeview-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "301640565e48fd02590df39cdb878f9c", "sha256": "c7339a97cb643860a688c84fa584320dcea7e0bd47d10c1d4965fc8870133ce4" }, "downloads": -1, "filename": "django-activeview-0.1.3.tar.gz", "has_sig": false, "md5_digest": "301640565e48fd02590df39cdb878f9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4886, "upload_time": "2017-04-07T16:39:16", "url": "https://files.pythonhosted.org/packages/0d/72/1fa697eae1a19335f7ffb7a12c32020a2be6c9fb3a79149fcda473399643/django-activeview-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "998164fb777ade5e28254e56192df6b4", "sha256": "908c0fc20624c016a8fb80dc822de695a6466f94e1d38e473fc952147b488ef0" }, "downloads": -1, "filename": "django_activeview-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "998164fb777ade5e28254e56192df6b4", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 8303, "upload_time": "2017-04-07T16:39:19", "url": "https://files.pythonhosted.org/packages/91/f7/4d6e968f846976870c06ced82a564a19ac566506fe8112ea1f7a2e5f14b7/django_activeview-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "301640565e48fd02590df39cdb878f9c", "sha256": "c7339a97cb643860a688c84fa584320dcea7e0bd47d10c1d4965fc8870133ce4" }, "downloads": -1, "filename": "django-activeview-0.1.3.tar.gz", "has_sig": false, "md5_digest": "301640565e48fd02590df39cdb878f9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4886, "upload_time": "2017-04-07T16:39:16", "url": "https://files.pythonhosted.org/packages/0d/72/1fa697eae1a19335f7ffb7a12c32020a2be6c9fb3a79149fcda473399643/django-activeview-0.1.3.tar.gz" } ] }