Skip to main content

require `name` in Django's `makemigrations`

Project description

django-require-migration-name

codecov

require name in Django's makemigrations

Installation

pip install django-require-migration-name

Usage

Add django-require-migration-name into your INSTALLED_APPS:

INSTALLED_APPS = [
    # ...

    'django-require-migration-name',
]

Then you can't makemigrations without name:

>> python manage.py makemigrations
CommandError: Please provide name for migration file(s).
>> python manage.py makemigrations -n name_here
No changes detected

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-require-migration-name-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-require-migration-name-0.1.0.tar.gz.

File metadata

  • Download URL: django-require-migration-name-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for django-require-migration-name-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a92c8bade2e02d2b3bb691576ba0dd10380bc2a355597ad251191ff0c356bab
MD5 88a1989bc9a85560197505d7629f84d7
BLAKE2b-256 6034ffa8c6745b443c0a7d531febb265021a3c3c098388589d270b6384c841e4

See more details on using hashes here.

File details

Details for the file django_require_migration_name-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_require_migration_name-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for django_require_migration_name-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da32a52e907ab25d0eb5ce0b4f654a4b7611d4f69d284e00d008db57a2e587c2
MD5 234c8247977ebd092f05c36e8eb2aa6c
BLAKE2b-256 80e53d48df82039e914c9221fd1510f7147263d41914c52ffce62b040e15d09f

See more details on using hashes here.

Supported by

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