Django Redis Panel

August 8, 2026 ยท View on GitHub

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

Django Redis Panel

A Django Admin panel for browsing, inspecting, and managing Redis keys. No postgres/mysql models or changes required.

Django Redis 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-redis-panel/

Features

  • Browse Redis Keys: Search and filter Redis keys with pattern matching
  • Instance Overview: Monitor Redis instance metrics and database statistics
  • Key Management: View, edit, and delete Redis keys with support for all data types (String, List, Set, Hash, Sorted Set), including binary data
  • Feature Toggles: Granular control over operations (delete, edit, TTL updates)
  • Pagination: Both traditional page-based and cursor-based pagination support
  • Django Admin Integration: Seamless integration with Django admin styling and dark mode
  • Permission Control: Respects Django admin permissions and staff-only access
  • Multiple Instances: Support for multiple Redis instances with different configurations

Requirements

  • Python 3.9+
  • Django 4.2+
  • Redis 4.0+
  • redis-py 4.0+

Screenshots

Django Admin Integration

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

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

Admin Home

Instance Overview

Monitor your Redis instances with detailed metrics and database information.

Instance Overview

Key Search - Page-based Pagination

Search for keys with traditional page-based navigation.

Key Search - Page Index

Key Search - Cursor-based Pagination

Efficient cursor-based pagination for large datasets.

Key Search - Cursor

Key Detail - String Values

View and edit string key values with TTL management.

Key Detail - String

Key Detail - Other data structures

Browse keys with more complex data structures such as hashes, lists, etc.

Key Detail - Hash

Installation

pip install dj-redis-panel dj-control-room

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

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

You'll also need at least one Redis instance configured under DJ_REDIS_PANEL_SETTINGS["INSTANCES"] - see Configuration for the full settings reference (feature flags, pagination, cluster/SSL connections).

python manage.py migrate

Then visit /admin/ and look for the "DJ REDIS 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.