require `name` in Django's `makemigrations`
Project description
django-require-migration-name
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-require-migration-name-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 582b1f17ea6d83f268e219d12d8be2b59a16914e3f6347e817f276689013dfed |
|
MD5 | e356912051139eb382d274ba109314d7 |
|
BLAKE2b-256 | 4839aa66cc24281db9dda6094934a9c074d4e964838c6ad7a72f8ea9ced68e8e |
Close
Hashes for django_require_migration_name-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dc74f7a235c6e92b860dbe4be10d375d6c9cf7ed9af0bd8ca253875e364e6fc |
|
MD5 | 6109db19fcf20149d12cfa30e7c4bb14 |
|
BLAKE2b-256 | bcc186fe81530e8755e3678163ae37713f3a8e55299ba57085b467a69dc7ba29 |