Django Debug Panel
Django Debug Toolbar inside WebKit DevTools. Works fine with background AJAX requests and non-HTML responses. Great for single-page applications and other AJAX intensive web applications.
Installation
Install and configure Django Debug Toolbar
Install Django Debug Panel:
pip install django-debug-panel
Add debug_panel to your INSTALLED_APPS setting:
INSTALLED_APPS = ( # ... 'debug_panel', )Replace the Django Debug Toolbar middleware with the Django Debug Panel one. Replace:
MIDDLEWARE_CLASSES = ( ... 'debug_toolbar.middleware.DebugToolbarMiddleware', ... )with:
MIDDLEWARE_CLASSES = ( ... 'debug_panel.middleware.DebugPanelMiddleware', ... )(Optional) Configure your cache. All the debug data of a request are stored into the cache backend debug-panel if available. Otherwise, the default backend is used, and finally if no caches are defined it will fallback to a local memory cache. You might want to configure the debug-panel cache in your settings.py:
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', }, # this cache backend will be used by django-debug-panel 'debug-panel': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/var/tmp/debug-panel-cache', 'OPTIONS': { 'MAX_ENTRIES': 200 } } }Install the Chrome extension Django Debug Panel
Release files for django-debug-panel 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-debug-panel-0.7.2.tar.gz | 4.6 kB | Details |
Release files / django-debug-panel-0.7.2.tar.gz
| Download URL | django-debug-panel-0.7.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7237e53beabbb12d5bf69bc35a7715576394939848c27e1cae329dece7933bc1
|
|
BLAKE2b-256 checksum How to use checksums |
3340549097995e2d121cea4608be844d24a35eb4a516d751940a65837b8722aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |