Skip to content

Releases: wolph/django-redis-admin

Release list

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 10:44
v0.4.0
f426c59

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_RE and REDIS_EXCLUDE_KEYS, or per server inside REDIS_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.typed and passes mypy, basedpyright and pyrefly in strict mode.
  • Built with uv_build from pyproject.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.demo seeds a local Redis with one key of every type and serves the admin with admin / 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

v0.3.0

Choose a tag to compare

@wolph wolph released this 21 Aug 01:41
v0.3.0
68e47a3

Updated to work with the latest Django version thanks to @81375