/dj-migration-conflicts

Management command to detect migration conflicts and raise an error if found

Primary LanguagePythonOtherNOASSERTION

Django Detect Migration Conflict

image

image

image

Management command to detect migration conflicts and raise an error if found

Quickstart

Install Django Detect Migration Conflict:

pip install dj-migration-conflicts

Add it to your `INSTALLED_APPS`:

INSTALLED_APPS = (
    ...
    'dj_migration_conflicts.apps.DjMigrationConflictsConfig',
    ...
)

Features

- Migration command to check for migration conflicts. To run it run: python manage.py detect_migration_conflicts

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

Attribution: library is based on this gist: https://gist.github.com/cb109/9f434e83c86e122715b78766e1dde2da