1👍
✅
IDK wat’s happening, but today I made some changes to migrations like adding run_before
and the issue was gone. BUT! I rolled all changes back, droped all the related databases and the bug didn’t came back. The code is literally the same as it was when I posted the question…
3👍
Check out the docs about ordering your migrations:
https://docs.djangoproject.com/en/2.0/howto/writing-migrations/#controlling-the-order-of-migrations
- [Django]-Isinstance() and type() equivelence failure due to import mechanism (python/django)
- [Django]-Django: Overriding form save?
- [Django]-How to get tests coverage using Django, Jenkins and Sonar?
- [Django]-Django Multi-Table-Inheritance and Left Outer Joins
- [Django]-Filtering by calculated (extra()) fields
0👍
Take a look at the Django documentation regarding the configuration variable MIGRATION_MODULES.
Link to doc: https://docs.djangoproject.com/en/2.0/ref/settings/#std:setting-MIGRATION_MODULES
Source:stackexchange.com