require name
in Django's makemigrations
pip install django-require-migration-name
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
- fix: use underscore in package folder name
- Initial release