Closed fjsj closed 3 years ago
Is your feature request related to a problem? Please describe. Consider using makemigrations --check --dry-run instead of custom has_missing_migrations (backend/common/management/commands/has_missing_migrations.py).
makemigrations --check --dry-run
backend/common/management/commands/has_missing_migrations.py
See: https://stackoverflow.com/a/48442671/145349
Describe the solution you'd like
python manage.py makemigrations --check --dry-run
bin/post_compile
Is your feature request related to a problem? Please describe. Consider using
makemigrations --check --dry-run
instead of custom has_missing_migrations (backend/common/management/commands/has_missing_migrations.py
).See: https://stackoverflow.com/a/48442671/145349
Describe the solution you'd like
backend/common/management/commands/has_missing_migrations.py
python manage.py makemigrations --check --dry-run
, check where to replace, likebin/post_compile