Skip to main content

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

  1. Install and configure Django Debug Toolbar

  2. Install Django Debug Panel:

    pip install django-debug-panel
  3. Add debug_panel to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        # ...
        'debug_panel',
    )
  4. 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',
        ...
    )
  5. (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:

    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
            }
        }
    }
  6. Install the Chrome extension Django Debug Panel

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-panel-0.8.3.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file django-debug-panel-0.8.3.tar.gz.

File metadata

File hashes

Hashes for django-debug-panel-0.8.3.tar.gz
Algorithm Hash digest
SHA256 51fac401a76c5481d2599b9c30b3a89c5ddabbe1ff3d941f0e17d588ad5fcefb
MD5 31ef423aa54ebf53e661c0e333fcb294
BLAKE2b-256 a15f6af1ec0b482573fa4d5697a22054c151d51d62fb8369f43731ad731fa8f1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.3 This release

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.0

1 file

0.5.9

1 file

0.5.8

1 file

0.5.7

1 file

0.5.6

1 file

0.5.5

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page