Django-IsMigrated is a simple Django app that tells you if a Django project has been migrated or not. It exits with Zero if there are not migrations, and NonZero if there are.
For Django 1.7, 1.8 and 1.9 use v0.x.x
-
Add "django-ismigrated" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'django-ismigrated', ]
-
Run
python manage.py ismigrated
to determine if there are migrations to run.
- Austin Lally: [email protected]
- Francisco Gray: [email protected]