Squashed migration showing unapplied in python3 but applied in python2

10 views
Skip to first unread message

Vaibhav lodha

unread,
Mar 11, 2022, 9:19:17 AM3/11/22
to Django users
Hi Everyone, 
In my org, we are trying to migrate from python2 to python3 with the django version as 1.9.4, but stuck in one issue which is we have 2 migrations which squashed, when we apply them in python2, it shows applied and migrate doesn't re-run it but when we run migrate with python3, it keeps on applying them even if they are already applied. We even tried faking the migration, but under the hood it faked the migrations inside of squashed migration instead of squashed migration itself. Do we have any idea how to fix this?

Reply all
Reply to author
Forward
0 new messages