Skip to main content

Integrate project upgrade checks in Django's system check framework

Project description

1 Welcome to django-upgrade-check’s documentation!

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.

2 Features

  • 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.

3 Installation and usage

See the documentation on ReadTheDocs or check the docs folder.

4 Local development

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_upgrade_check-1.1.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_upgrade_check-1.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file django_upgrade_check-1.1.0.tar.gz.

File metadata

  • Download URL: django_upgrade_check-1.1.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_upgrade_check-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e6aa685eb48dff7ad74d7da16f6bdf4afc24a81c99dc36a1171ee3beffa6188b
MD5 f025df8fdfe67d5e4f4ea28835a80df4
BLAKE2b-256 35a712cf26eefd434e2094241130ad8789be35d1a6eba84963d4952db2a16fed

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_upgrade_check-1.1.0.tar.gz:

Publisher: ci.yml on maykinmedia/django-upgrade-check

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_upgrade_check-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_upgrade_check-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1194dd817460619c049a42bbe9b2e44fae23a35f19843ff537ece51481e77181
MD5 6e23d2515d23473850d1b76e8b8e1579
BLAKE2b-256 d1c48aa911efe0c31e69d9abf0e735ae00f5bd1398cedd418eec8a45a2086561

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_upgrade_check-1.1.0-py3-none-any.whl:

Publisher: ci.yml on maykinmedia/django-upgrade-check

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page