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.


Contributing

Want to contribute or set up the project for local development? See Contributing 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.6.0.tar.gz (29.9 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.6.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dj_cache_panel-0.6.0.tar.gz
  • Upload date:
  • Size: 29.9 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.6.0.tar.gz
Algorithm Hash digest
SHA256 0611c8582866072bcc7f03929a8ed2f4b7b74fdbe0eae5ecec3521310e39c850
MD5 f3c7de15247b23b696e5127970b02988
BLAKE2b-256 f51757c1a02fc4424d0de7478ac53aea47fc64037b98062f74a32c7f2afa6251

See more details on using hashes here.

Provenance

The following attestation bundles were made for dj_cache_panel-0.6.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.6.0-py3-none-any.whl.

File metadata

  • Download URL: dj_cache_panel-0.6.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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 157e98cb3e055ec51405c0f44152647d0866056b9998ea2841be794c39fecb27
MD5 cb3cbdfcf3f07ac9aa9b324408fc297b
BLAKE2b-256 958c30afc8b5cea23bbec87ca3a046691dd4fec5a5194e9e14d1bdac4b54a8a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dj_cache_panel-0.6.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