Skip to main content

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

Metadata

Release files for django-require-migration-name 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-require-migration-name 0.2.0
File Size Uploaded
django-require-migration-name-0.2.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-require-migration-name 0.2.0
File Interpreter ABI Platform
django_require_migration_name-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / django-require-migration-name-0.2.0.tar.gz

Download URL django-require-migration-name-0.2.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
582b1f17ea6d83f268e219d12d8be2b59a16914e3f6347e817f276689013dfed
BLAKE2b-256 checksum
How to use checksums
4839aa66cc24281db9dda6094934a9c074d4e964838c6ad7a72f8ea9ced68e8e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / django_require_migration_name-0.2.0-py3-none-any.whl

Download URL django_require_migration_name-0.2.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dc74f7a235c6e92b860dbe4be10d375d6c9cf7ed9af0bd8ca253875e364e6fc
BLAKE2b-256 checksum
How to use checksums
bcc186fe81530e8755e3678163ae37713f3a8e55299ba57085b467a69dc7ba29
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page