Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove south from a django project

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 remove south and use syncdb normally now, how do I do that without affecting my data?

like image 934
abc def foo bar Avatar asked May 24 '11 08:05

abc def foo bar


People also ask

How do I remove an app from Django project?

To remove the app from your project, all you need to do is remove it from INSTALLED_APPS in your project's settings.py . Django will no longer load the app. If you no longer want the app's files hanging around, delete the app directory from your project directory or other location on your PYTHONPATH where it resides.

How do I delete one migration in Django?

Let's assume for a moment that you want to delete your migrations. We would assume that we have an app name "account" within a Django project. Locate the app, within the app locate "migrations" folder, and within the "migrations" delete all, save the. file.


2 Answers

Remove 'south' from INSTALLED_APPS, remove south_migrations table from DB.

like image 64
DrTyrsa Avatar answered Sep 30 '22 03:09

DrTyrsa


Remove 'south' from INSTALLED_APPS, remove south_migrations table from DB.

Also, you'll need to delete the Migrations folders from your app folders.

like image 21
Karen Avatar answered Sep 30 '22 05:09

Karen