Add option to ignore specific migrations by name)

This commit is contained in:
david_wobrock committed 2017-06-07 12:52:29 +02:00
1 parent 6ecc0eb941
commit 63b564d47d
2 files changed
+12 -3

No files matched your search

+2 -1
View File
@@ -8,7 +8,8 @@ Detect backward incompatible migrations for your django project. All in one file
* `DJANGO_PROJECT_FOLDER` - an absolute or relative path to the django project.
* `GIT_COMMIT_ID` - if specified, only migrations since this commit will be taken into account. If not specified, the initial repo commit will be used.
* `--ignore-name-contains IGNORE_NAME_CONTAINS`- ignore migrations containing this name
* `--ignore-name-contains IGNORE_NAME_CONTAINS` - ignore migrations containing this name
* `--ignore-name IGNORE_NAME [IGNORE_NAME ...]` - ignore migrations with exactly one of these names
* `--include-apps INCLUDE_APPS [INCLUDE_APPS ...]` - check only migrations that are in the specified django apps
* `--exclude-apps EXCLUDE_APPS [EXCLUDE_APPS ...]` - ignore migrations that are in the specified django apps
* `--verbose` or `-v` - print more information during execution