Development

Install (uv)

git clone https://github.com/tnware/django-admin-reversefields
cd django-admin-reversefields
uv venv .venv
# Windows PowerShell
. .\.venv\Scripts\Activate.ps1
# macOS/Linux
# source .venv/bin/activate

uv pip install -e .
uv pip install -r docs/requirements.txt

Build docs

uv run sphinx-build -b html docs docs/_build/html -W

Run tests

uv run python manage.py test -v 2

Release

Version is defined in django_admin_reversefields/__init__.py.

uv build
# or: python -m build
twine upload dist/*