5👍
✅
With a couple of steps, I did it.
-
First I changed the south migration table manually to set app_name to the new app_name
-
then I went across all the current migrations .py files and changes all the ocurrencies of the old folder to the new one.
-
Also, still in the .py migration files, I made sure that all complete_apps = [‘OLD_APP_NAME’] was changed to complete_apps = [‘NEW_APP_NAME’] as well.
-
Ran the schemamigration normally like the models.py has always been there.
Source:stackexchange.com