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

Changelog

v0.2.0

  • fix: use underscore in package folder name

v0.1.0

  • Initial release

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.2.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

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