{ "info": { "author": "Vincenzo E. Antignano (@qubird)", "author_email": "@qubird", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python" ], "description": "===================================\nDjango TemplateLoaderWithPriorities\n===================================\n\nA django template loader that allows you to control the order which the template dirs (filesystem directories or apps' template directories) are resolved in.\n\nUseful when you want to override third party apps templates.\n\n====================\nInstallation and use\n====================\n\nGet ``templateloaderwithpriorities`` from pypy or github::\n\n $ pip install django-templateloaderwithpriorities\n\nor::\n\n $ pip install -e git+git://github.com/qubird/django-templateloaderwithpriorities#egg=templateloaderwithpriorities\n\nOnce installed, put the loader on top of ``settings.TEMPLATE_LOADERS``::\n\n TEMPLATE_LOADERS = ('templateloaderwithpriorities.Loader', ) + TEMPLATE_LOADERS\n\nBe sure that it's the first item of ``TEMPLATE_LOADERS``, else your priorities will be ignored.\n\nThen add ``TEMPLATE_LOADER_PRIORITIES`` to your settings.py::\n\n TEMPLATE_LOADER_PRIORITIES = [\n 'my.app',\n '/path/to/my/custom/templates'\n ]\n\nThe loader searches for templates in the given order, looking for the ``templates`` directory if the item is an app, or the directory itself if the item is an absolute path.\n\nFirst come, first served.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/qubird/django-templateloaderwithpriorities", "keywords": "django template loader", "license": "GNU General Public License (GPL)", "maintainer": null, "maintainer_email": null, "name": "django-templateloaderwithpriorities", "package_url": "https://pypi.org/project/django-templateloaderwithpriorities/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-templateloaderwithpriorities/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/qubird/django-templateloaderwithpriorities" }, "release_url": "https://pypi.org/project/django-templateloaderwithpriorities/1.0dev/", "requires_dist": null, "requires_python": null, "summary": "A Django Template Loader with priorities", "version": "1.0dev" }, "last_serial": 790843, "releases": { "1.0dev": [ { "comment_text": "", "digests": { "md5": "d50de1b8893bb2718838d1949b409c3b", "sha256": "1beb09177df890dadd18245e80bc58e3a24f028f7442d21bcbe01bbe577e952e" }, "downloads": -1, "filename": "django-templateloaderwithpriorities-1.0dev.tar.gz", "has_sig": false, "md5_digest": "d50de1b8893bb2718838d1949b409c3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3084, "upload_time": "2011-12-28T18:47:11", "url": "https://files.pythonhosted.org/packages/11/07/d6432ccfc44b47d249c22c5ae1234e90226e3c1405ef1382f6a344990ec9/django-templateloaderwithpriorities-1.0dev.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d50de1b8893bb2718838d1949b409c3b", "sha256": "1beb09177df890dadd18245e80bc58e3a24f028f7442d21bcbe01bbe577e952e" }, "downloads": -1, "filename": "django-templateloaderwithpriorities-1.0dev.tar.gz", "has_sig": false, "md5_digest": "d50de1b8893bb2718838d1949b409c3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3084, "upload_time": "2011-12-28T18:47:11", "url": "https://files.pythonhosted.org/packages/11/07/d6432ccfc44b47d249c22c5ae1234e90226e3c1405ef1382f6a344990ec9/django-templateloaderwithpriorities-1.0dev.tar.gz" } ] }