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

Source:

https://github.com/maykinmedia/django-upgrade-check

Keywords:

django, deploy, system checks, semver

PythonVersion:

3.10

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.0.0.tar.gz (14.0 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.0.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_upgrade_check-1.0.0.tar.gz
  • Upload date:
  • Size: 14.0 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.0.0.tar.gz
Algorithm Hash digest
SHA256 f50c8ff7865a726185760596459af7f9f5ed30348e50d2529615f3cb39729774
MD5 b35eb2685b5b0d9c7a5ec8e3a7b75520
BLAKE2b-256 28652e54ebd4f6d8488645e87d697e2d2ee3752a3fbe276b20c319dada032013

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_upgrade_check-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e5e47112dec367e22241210a63c3021b73bd05a069adf597ee750b69d76de5
MD5 a13ba2ff0897a6df8fa67d757713500b
BLAKE2b-256 b64769267171f4e24f1d80711920588d0ef6cb5b597d10f0720d9364723e9fb2

See more details on using hashes here.

Provenance

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