Skip to main content

A more detailed cache panel for the Django Debug Toolbar

Project description

https://raw.github.com/lincolnloop/django-cache-panel/master/screenshot.png

The Django Cache Panel is an add-on for the Django Debug Toolbar to track cache usage. It is a fork of the Cache Debug Toolbar project by Rick van Hattem, which is where the statistics tracking at the core of this project come from. The generic cache wrapper is modified from the django-debug-cache-panel project by Jeff Balogh.

It’s been tested with Django 1.4 and Django Debug Toolbar 0.9.4 using the python-memcached backend. If you’ve tried it out with other configurations, please let me know!

What’s Changed?

The project has been modified to be more generic, capturing only the functions found in the BaseCache so that it should be compatible with more cache backends. The way the statistics are captured and the presentation of the statistics has also been modified to be more similar to the SQL panel. The requirement for the panel to be imported in settings has been removed.

Installation

  1. Install and configure Django Debug Toolbar.

  2. pip install django-cache-panel

  3. Add cache_panel app to your INSTALLED_APPS.

  4. Add cache_panel.panel.CacheDebugPanel to DEBUG_TOOLBAR_PANELS.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-cache-panel-0.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file django-cache-panel-0.1.tar.gz.

File metadata

File hashes

Hashes for django-cache-panel-0.1.tar.gz
Algorithm Hash digest
SHA256 42619072257d859c07bf91177070dc2ac925417d4010c8e6b40c23741cb9c46a
MD5 ff4a9ba9190464a18d618863a4e8b50b
BLAKE2b-256 5efc0b8e113b599025363da05cc9ef4a27e03642ce70ed2cfd7930b55ae5b6ce

See more details on using hashes here.

Supported by

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