Skip to main content

django-debug-toolbar in WebKit DevTools. Works fine with background Ajax requests and non-HTML responses

Project description

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. 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',
            'TIMEOUT': 300,
            'OPTIONS': {
                'MAX_ENTRIES': 200
            }
        }
    }
  5. Install the Chrome extension Django Debug Panel

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-debug-panel-0.5.9.tar.gz
Algorithm Hash digest
SHA256 71ad27e8187f802284be397dc6d8e0ceaec600fe395740d534e5b24e9769e954
MD5 06194094c2910373a7aa17a93a1c192f
BLAKE2b-256 f2e997bb6ba184eff2625469c0536089a12d109ae7d3597b85021cbd0361c2d3

See more details on using hashes here.

Supported by

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