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:
DatabaseInfo:
Template Tags/Filters Information:
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 from debug_toolbar.settings import PANELS_DEFAULTS DEBUG_TOOLBAR_PANELS = PANELS_DEFAULTS + [ '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-1.9x | 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
donation
links
Forum | http://forum.pylucid.org/ |
IRC | #pylucid on freenode.net |
Github | https://github.com/jedie/django-debug-toolbar-django-info |
PyPi | http://www.python.org/pypi/django-debug-toolbar-django-info |