Giter Site home page Giter Site logo

django-debug-toolbar-django-info's Introduction

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
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

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

django-debug-toolbar-django-info's People

Contributors

jedie avatar

Stargazers

Fábio C. Barrionuevo da Luz avatar Nikolaus Schlemm avatar Jonathan Barratt avatar

Watchers

 avatar James Cloos avatar  avatar

django-debug-toolbar-django-info's Issues

Django 3

  File "/usr/lib/python3.8/site-packages/django_info_panel/panels/template.py", line 27, in <module>
    from django.template.base import get_library, get_templatetags_modules
ImportError: cannot import name 'get_library' from 'django.template.base' (/usr/lib/python3.8/site-packages/django/template/base.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.