Skip to main content

django-info panel for django-debug-toolbar

Project description

Django-Info is a panel for Django Debug Toolbar to display these informations:

  • UrlPatternsInfo:

    • List all urls: “module / function name”, “url name”, “url / regex”
  • DatabaseInfo:

    • backend information
    • app/model info
    • existing database table names

Most source code parts are from: PyLucid ‘show internals’ plugin.

screenshots

UrlPatternsInfo:

screenshot URL-Patterns info

DatabaseInfo:

screenshot Database info

Template Tags/Filters Information:

screenshot Template info

install

Install via pip, e.g.:

$ pip install django-debug-toolbar-django-info

Add to your settings.py, e.g.:

# http://django-debug-toolbar.readthedocs.org/en/latest/configuration.html#debug-toolbar-panels
DEBUG_TOOLBAR_PANELS = [
    ...
    'django_info_panel.panels.database.DatabaseInfo',
    'django_info_panel.panels.urlpatterns.UrlPatternsInfo',
    'django_info_panel.panels.template.TemplateInfo',
]

INSTALLED_APPS = [
    ...
    'django_info_panel'
]

compatibility

Tested in these combination:

django-info django-debug-toolbar Django
v0.3.0 v1.4 v1.8
v0.1.0-v0.2.0 v1.2.2 v1.7.4

changelog

  • 08.07.2016 - v0.3.0:

    • Update for Django 1.8
  • 10.02.2015 - v0.2.0:

    • Add “Template Tags/Filters Information” with a list of all registered template tags/filters
  • v0.1.0 - 02.02.2015:

    • First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-debug-toolbar-django-info-0.3.0.tar.gz (22.0 kB view hashes)

Uploaded source

Built Distributions

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page