Django Cache Panel
A universal cache inspector for Django.
Compatible with dj-control-room. Register this panel in the Control Room to manage it from a centralized dashboard.
- Official site: djangocontrolroom.com
- Project repo: dj-control-room
Docs
https://django-control-room.github.io/dj-cache-panel/
Features
- Browse Cache Instances: View all configured cache backends from your
CACHESsetting - 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.
Caches Overview
Get a list of all your caches as well as the allowed capabilities for each cache
Key Search
Key Edits/Adds
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ba0fa48d75342709e800df5e9a32132b61f73d270a22d48b920b2dbde1808a3
|
|
| MD5 |
26fcb9c125d887b372b7a7f67883ac81
|
|
| BLAKE2b-256 |
24aa5a03f72a248afa15bd934716ab91d3e369d2ed23ff2310d516a805aeccc8
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dj_cache_panel-0.5.0.tar.gz -
Subject digest:
4ba0fa48d75342709e800df5e9a32132b61f73d270a22d48b920b2dbde1808a3 - Sigstore transparency entry: 2373750103
- Sigstore integration time:
-
Permalink:
django-control-room/dj-cache-panel@339787bcac84a5a20a839aca2b4892ccf2cf20d9 -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/django-control-room
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@339787bcac84a5a20a839aca2b4892ccf2cf20d9 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f39fe253ff30e27c6d889ba3a8b06b5ef12648f894bf18b83cb7786ff5399715
|
|
| MD5 |
b0a50c2d393e4beb6b186278eef32fdd
|
|
| BLAKE2b-256 |
44f9a1e6f00a02af5419798f31b9a212c626e3fae3cf530869fc9567709272ef
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dj_cache_panel-0.5.0-py3-none-any.whl -
Subject digest:
f39fe253ff30e27c6d889ba3a8b06b5ef12648f894bf18b83cb7786ff5399715 - Sigstore transparency entry: 2373750207
- Sigstore integration time:
-
Permalink:
django-control-room/dj-cache-panel@339787bcac84a5a20a839aca2b4892ccf2cf20d9 -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/django-control-room
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@339787bcac84a5a20a839aca2b4892ccf2cf20d9 -
Trigger Event:
release
-
Statement type: