A part of the problem is that your models.py
changes with the environment and thus the migration engine detects it and tries to “fix it”.
I would recommend to read this other topic which covers a similar use-case:
A part of the problem is that your models.py
changes with the environment and thus the migration engine detects it and tries to “fix it”.
I would recommend to read this other topic which covers a similar use-case: