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:

2.0.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-2.0.0.tar.gz (14.9 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-2.0.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_upgrade_check-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7e7ea28a2235c51a5e46d458a90c0085632b02c79bda6ba759e7accc88d569a2
MD5 833bca974a1446ed508abfd0b6545ad5
BLAKE2b-256 d52176c6a55ec0115f8a141ad584e7780ccc17e6e48fe73fe066be4a4c7e07aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_upgrade_check-2.0.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-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_upgrade_check-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d115387430feb2906ce08f0542e4a22ef442180a013128b678596dbb00a7f9fd
MD5 951f17e8c048b02b48e274e35a473cd5
BLAKE2b-256 1041e7689626473962317bd2aaae7bf16a5666e14b46fd4a583211e70804f2ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_upgrade_check-2.0.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