I installed south and tried a few changes using it, which didn't exactly work out the way I wanted it to. Thankfully, my data is safe but locked into south. I want to r开发者_开发技巧emove south and use syncdb normally now, how do I do that without affecting my data?
Remove 'south'
from INSTALLED_APPS, remove south_migrations
table from DB.
Remove 'south' from INSTALLED_APPS, remove south_migrations table from DB.
Also, you'll need to delete the Migrations folders from your app folders.
What does it mean for your data to be "locked into" South? The data lives in the database, and South simply creates the schema for you and migrates it when necessary. If you remove South, the data will stay exactly the same.
project is already in development then follow below steps.
1>You have to remove 'south' from installed apps
2>Delete all migrations from migrations folder
3> Delete south_migrations table from database
After following above steps, Suppose you want to vanish south completely from your system then follow below commands.
sudo apt-get remove --auto-remove python-django-south
Above command will uninstall south with it's all dependencies. And to know more about the uninstalling south..click this link
精彩评论