django-squash
django-squash copied to clipboard
A migration squasher that doesn't care how Humpty Dumpty was put together.
#### Problem In a medium complexity project, I have several migrations whose function names referenced in `code` and `reverse_code` of `RunPython` are respectively `forward` and `backward`. `django-squash` manages to create...
Hello again, sorry I missed your answer. So I plan to reopen issue, cause I tried to squash my migrations again :) I get this error again: ```(venv) (⎈ |saas-core-dev:default)[source]...
we have a migration named like `02_some_name`. probably bad form, but this package should be resilient to that. I can submit a PR to address this shortly.
```shell pip install git+https://github.com/kingbuzzman/django-squash.git@add-circular-migration-finder ``` ```shell python manage.py shell -c 'from django.core.management import call_command; from django_squash.management.commands.circularmigrations import Command; call_command(Command())' ``` ------- # Advanced. _Get the apps that are problematic, and...