Django Redis Panel
A Django Admin panel for browsing, inspecting, and managing Redis keys. No PostgreSQL/MySQL models or changes required.

Overview
Django Redis Panel seamlessly integrates into your existing Django admin interface, providing a powerful tool for Redis database management without requiring any model definitions or database migrations.
Key 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
- 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
- Encoder Settings: support for different encoding and decoding strategies
- Binary Safe Value Editing: Full support for displaying and editing arbitrary byte strings
Supported Redis Data Types
- String: View and edit string values, including binary data
- List: Browse list items with pagination and edit/delete list items
- Set: View set members and delete
- Hash: Display hash fields and values in a table format. Ability to edit hash values and delete hash entries.
- Sorted Set: Show sorted set members with scores. Able to delete set members and edit scores.
Binary Data Handling
Django Redis Panel safely handles binary data stored in Redis:
- Automatic Detection: Binary data that can't be decoded using the configured encoding format (utf-8 by default) is automatically displayed as bytes literals (strings like
b'...') - Editable Format: Binary values appear as
b'...'orb"..."and can be edited directly in this format. Use this method whenever you want to make edits without encoding data. - Common Use Cases: Though not perfect, this allows you to inspect objects with formats such as pickle or MessagePack. It is also useful in environments where there is a mixed set of encoding formats being used
Requirements
- Python 3.9+
- Django 4.2+
- Redis 4.0+
- redis-py 4.0+
License
This project is licensed under the MIT License.