Skip to content

maykinmedia/django-upgrade-check

Repository files navigation

Version:1.1.0
Source:https://github.com/maykinmedia/django-upgrade-check
Keywords:django, deploy, system checks, semver

Build status Code quality checks Ruff Coverage status Documentation Status

python-versions django-versions pypi-version

Integrate project upgrade checks in Django's system check framework.

  • Define supported upgrade paths in settings using Semantic Versioning.
  • Integrates with Django's system check framework, preventing migrations from running on invalid upgrade paths.
  • Run management commands as part of a check, or even entirely custom code.
  • Battle-tested and doesn't get in the way during development.

See the documentation on ReadTheDocs or check the docs folder.

To install and develop the library locally, use:

pip install -e .[tests,coverage,docs,release]

When running management commands via django-admin, make sure to add the root directory to the python path (or use python -m django <command>):

export PYTHONPATH=`pwd` DJANGO_SETTINGS_MODULE=testapp.settings
django-admin check
# or other commands like:
# django-admin makemessages -l nl

About

Integrate project upgrade checks in Django's system check framework

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages