Improve the way missing migrations are check. GitLab issue #278.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-03 01:20:44 -04:00
parent ed5d7cd812
commit 0bc6a42192
3 changed files with 9 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ help:
@echo "clean - Remove Python and build artifacts."
@echo "generate_setup - Create and updated setup.py"
@echo "check_readme - Checks validity of the README.rst file for PyPI publication."
@echo "check_missing_migrations - Make sure all models have proper migrations."
@echo "test-all - Run all tests."
@echo "test MODULE=<python module name> - Run tests for a single app, module or test class."
@@ -356,3 +357,7 @@ build:
check_readme:
python setup.py check -r -s
check_missing_migrations:
./manage.py makemigrations --dry-run --noinput --check