Skip to main content

Django Control Room Panel Tests codecov PyPI version Python versions License: MIT Downloads

Django Cache Panel

A universal cache inspector for Django.

Django Cache Panel - Instance List

Compatible with dj-control-room. Register this panel in the Control Room to manage it from a centralized dashboard.

Docs

https://django-control-room.github.io/dj-cache-panel/

Features

  • Browse Cache Instances: View all configured cache backends from your CACHES setting
  • Abilities Matrix: See at a glance which operations each cache supports (Query, Get, Delete, Flush)
  • Key Search: Search and browse cache keys with wildcard patterns (for supported backends)
  • Value Preview: View cache values directly in search results
  • Pagination: Navigate through large sets of keys efficiently
  • Admin Integration: Seamlessly integrates with Django's admin interface
  • Secure: Only accessible to staff users
  • Backend Agnostic: Works with any Django cache backend (with varying feature support)

Requirements

  • Python 3.9-3.14
  • Django 4.2+

Screenshots

Django Admin Integration

Seamlessly integrated into your Django admin interface. A new section for dj-cache-panel will appear in the same places where your models appear.

NOTE: This application does not actually introduce any model or migrations.

Admin Home

Caches Overview

Get a list of all your caches as well as the allowed capabilities for each cache

Instance Overview

Key Search

Key Search

Key Edits/Adds

Key Detail

Installation

pip install dj-cache-panel dj-control-room

Optional Valkey support (requires Python 3.10+):

pip install dj-cache-panel[valkey] dj-control-room

Add it to INSTALLED_APPS, include its URLs, and migrate:

INSTALLED_APPS = [
    # ...
    "dj_control_room_base",
    "dj_cache_panel",
    "dj_control_room",
    # ...
]
urlpatterns = [
    path("admin/dj-control-room-base/", include("dj_control_room_base.urls")),
    path("admin/dj-cache-panel/", include("dj_cache_panel.urls")),
    path("admin/dj-control-room/", include("dj_control_room.urls")),
    path("admin/", admin.site.urls),
]

The panel reads your existing Django CACHES setting. no extra instance config required for most projects. Advanced options (backend panel mappings, per-cache ability overrides, CSS) are covered in Configuration.

python manage.py migrate

Then visit /admin/ and look for the "DJ CACHE PANEL" section.

For the full walkthrough and production recommendations, see the Installation and Configuration docs. See Scopes for per-view permission scopes.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Development Setup

Want to contribute or set up the project for local development? See docs/development.md for prerequisites, Docker/virtualenv setup, running the example project, and the test suite.

Download files

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

Source Distribution

dj_cache_panel-0.5.0.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dj_cache_panel-0.5.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file dj_cache_panel-0.5.0.tar.gz.

File metadata

  • Download URL: dj_cache_panel-0.5.0.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dj_cache_panel-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4ba0fa48d75342709e800df5e9a32132b61f73d270a22d48b920b2dbde1808a3
MD5 26fcb9c125d887b372b7a7f67883ac81
BLAKE2b-256 24aa5a03f72a248afa15bd934716ab91d3e369d2ed23ff2310d516a805aeccc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for dj_cache_panel-0.5.0.tar.gz:

Publisher: python-publish.yml on django-control-room/dj-cache-panel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dj_cache_panel-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: dj_cache_panel-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dj_cache_panel-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f39fe253ff30e27c6d889ba3a8b06b5ef12648f894bf18b83cb7786ff5399715
MD5 b0a50c2d393e4beb6b186278eef32fdd
BLAKE2b-256 44f9a1e6f00a02af5419798f31b9a212c626e3fae3cf530869fc9567709272ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for dj_cache_panel-0.5.0-py3-none-any.whl:

Publisher: python-publish.yml on django-control-room/dj-cache-panel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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