{ "info": { "author": "Paul Butcher", "author_email": "paul.butcher@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "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.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=============================\ndjango-template_tree\n=============================\n\n.. image:: https://badge.fury.io/py/django-template-tree.svg\n :target: https://badge.fury.io/py/django-template-tree\n\n.. image:: https://travis-ci.org/paul-butcher/django_template_tree.svg?branch=master\n :target: https://travis-ci.org/paul-butcher/django_template_tree\n\n.. image:: https://codecov.io/gh/paul-butcher/django_template_tree/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/paul-butcher/django_template_tree\n\nGenerate diagrams showing relationships between templates in Django projects\n\nDocumentation\n-------------\n\nThe full documentation is at https://django_template_tree.readthedocs.io.\n\nQuickstart\n----------\n\nInstall django-template_tree::\n\n pip install django_template_tree\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'template_tree',\n ...\n )\n\nAdd django-template_tree's URL patterns:\n\n.. code-block:: python\n\n from template_tree import urls as template_tree_urls\n from django import settings\n if settings.DEBUG:\n urlpatterns += [\n url(r'^__tt__/', include('template_tree.urls', namespace='template_tree')),\n ]\n\nFeatures\n--------\n\nDisplays a collapsible tree diagram showing the hierarchy of templates used by a Django application.\n\n.. image:: _static/screenshot.png\n\nNodes can be collapsed and expanded, by clicking on them.\n\n.. image:: _static/screenshot-collapsed.png\n\nApps can be filtered out of the tree, using the 'exclude_app' querystring parameter, thus:\n\nhttp://localhost:8000/__tt__/?exclude_app=template_tree&exclude_app=admin\n\nBy default, admin is excluded, so\nhttp://localhost:8000/__tt__/\nis equivalent to\nhttp://localhost:8000/__tt__/?exclude_app=admin\n\nIn order to show the admin app as well, you will need to 'unexclude' it thus:\nhttp://localhost:8000/__tt__/?exclude_app=\n\nVisiting the template_tree url, requesting an application/json response will return json data\ncompatible with d3 hierarchies, so you can roll your own diagrams.\n\nRunning Tests\n-------------\n\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ pip install tox\n (myenv) $ tox\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n\n\n\n\nHistory\n-------\n\n0.1.0 (2018-01-06)\n++++++++++++++++++\n\n* First release on PyPI.\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/paul-butcher/django_template_tree", "keywords": "django_template_tree", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-template-tree", "package_url": "https://pypi.org/project/django-template-tree/", "platform": "", "project_url": "https://pypi.org/project/django-template-tree/", "project_urls": { "Homepage": "https://github.com/paul-butcher/django_template_tree" }, "release_url": "https://pypi.org/project/django-template-tree/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Generate diagrams showing relationships between templates in Django projects", "version": "0.1.1" }, "last_serial": 3550094, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6834e80755d287fa06923d03ad611d4e", "sha256": "ac241034d486176c7cb3c9d8fa2a08402eaecb45152e46118bf2f2c4d32590ef" }, "downloads": -1, "filename": "django_template_tree-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6834e80755d287fa06923d03ad611d4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7224, "upload_time": "2018-01-19T20:59:21", "url": "https://files.pythonhosted.org/packages/e3/45/80b3627b642c21d727db4e1164c48fbdc4ccae91064f68df5a2382babec0/django_template_tree-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8b943fd65dee933d678a730fe4a923b5", "sha256": "6e049d1f29398935bd01484a835e9533d7c7cacb1a4d14edfaf9f11a1ed93128" }, "downloads": -1, "filename": "django_template_tree-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8b943fd65dee933d678a730fe4a923b5", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7680, "upload_time": "2018-02-04T11:43:38", "url": "https://files.pythonhosted.org/packages/a9/92/fc707f1c77668b546c42e77f2779a9b0bba06563f04e8ac18626c6b8d69d/django_template_tree-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e267f0ff24256ee1a32bb016eaf26372", "sha256": "df977b20dc86194fdfade84e38e196ded73579d246e0abde0e9cb7ecf40b3262" }, "downloads": -1, "filename": "django_template_tree-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e267f0ff24256ee1a32bb016eaf26372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7264, "upload_time": "2018-02-04T11:43:36", "url": "https://files.pythonhosted.org/packages/37/13/bbe70a479ada2e6cd454fc75d3e1e11d89cfe0edb91e2165bdf4fd22c59a/django_template_tree-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b943fd65dee933d678a730fe4a923b5", "sha256": "6e049d1f29398935bd01484a835e9533d7c7cacb1a4d14edfaf9f11a1ed93128" }, "downloads": -1, "filename": "django_template_tree-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8b943fd65dee933d678a730fe4a923b5", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7680, "upload_time": "2018-02-04T11:43:38", "url": "https://files.pythonhosted.org/packages/a9/92/fc707f1c77668b546c42e77f2779a9b0bba06563f04e8ac18626c6b8d69d/django_template_tree-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e267f0ff24256ee1a32bb016eaf26372", "sha256": "df977b20dc86194fdfade84e38e196ded73579d246e0abde0e9cb7ecf40b3262" }, "downloads": -1, "filename": "django_template_tree-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e267f0ff24256ee1a32bb016eaf26372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7264, "upload_time": "2018-02-04T11:43:36", "url": "https://files.pythonhosted.org/packages/37/13/bbe70a479ada2e6cd454fc75d3e1e11d89cfe0edb91e2165bdf4fd22c59a/django_template_tree-0.1.1.tar.gz" } ] }