Releases: wolph/django-redis-admin
Releases · wolph/django-redis-admin
Release list
v0.4.0
The first release since 2023, and a large one: the package is modernised end to end and the admin gains key exclusions and a properly enforced read-only mode.
Highlights
- Exclude keys from the admin by prefix, regular expression or exact name, globally with
REDIS_EXCLUDE_KEY_PREFIXES,REDIS_EXCLUDE_KEY_REandREDIS_EXCLUDE_KEYS, or per server insideREDIS_SERVERS. Keeps pickled data from libraries such as django-constance out of the admin (#2). - Read-only, enforced at the endpoints. Add, change and delete views now return 403 and the bulk delete action is gone, instead of relying on every field being read-only.
- Cleaner admin pages. The app is labelled Redis and every object page and breadcrumb shows the key instead of
RedisString object (...).
Compatibility
- Python 3.10 to 3.14 and PyPy 3.10 and 3.11. Python 3.6 to 3.9 are no longer supported.
- Django 4.2 to 6.1. Django 4.2, 5.2, 6.0 and 6.1 are tested explicitly, older Django releases are no longer supported.
- New runtime dependency:
typing-extensions.
Typing and packaging
- Ships
py.typedand passes mypy, basedpyright and pyrefly in strict mode. - Built with
uv_buildfrompyproject.toml. The sdist carries the tests and the demo settings they need. - Published from GitHub Actions through PyPI Trusted Publishing with build attestations.
Documentation and demo
- New README and documentation with screenshots, a guided tour, a configuration reference and a development guide: https://django-redis-admin.readthedocs.io/
python -m test_redis_admin.demoseeds a local Redis with one key of every type and serves the admin withadmin/admin.
Quality
- 100% line and branch coverage across the whole Python matrix.
- CI lints every file type (Python, TOML, YAML, Markdown and the workflows themselves), audits dependencies, checks both distributions and runs the tests from the built sdist.
Full Changelog: v0.3.0...v0.4.0