(source http://belchak.com/2011/01/27/django-database-migrations-with-south/)
I have been using django for web development for almost a year now, and I just recently started using South to do database migrations. To be fair, most of the work that I have been doing with databases has centered around MongoDB and schema-less document stores instead of a traditional RDBMS. Since Django does not come with any database migration tools, my standard approach was to make sure that my models are completely thought out before running the manage.py syncdb command. The lack of a good database migration tool was one of the things that originally had turned me off to django.
Enter South. South lets you manage your database in a way very similar to how Ruby on Railsworks.
Converting a project to a South-managed project is very easy:
[sudo] pip install southINSTALLED_APPS list in the settings.py for your django project../manage.py syncdb in your project root directory to add the South database tables to your database../manage.py convert_to_south YOUR_APP_NAME If not, go to the next step!./manage.py schemamigration YOUR_APP_NAME --auto./manage.py migrate YOUR_APP_NAMESouth lets you apply up to or back to any migration point by running a command like: ./manage.py migrate YOUR_APP_NAME 0001 (that command would take you back to your initial migration point. You can get a list of all your migrations and a description about each one by running ./manage.py migrate YOUR_APP_NAME --list. This lists all of the migrations you have available and denotes with a (*) which ones have been applied.
South is great for working in a team. All migrations are stored in YOUR_APP_NAME/migrations, so you can simply add these to your VCS and all of your team members will get all of your migrations. If there is a conflict in some of the migrations that you and a team member have been working on, South will detect it and let you merge the conflicts.
All in all, I am really loving South. It makes working with an RDBMS and Django much more pleasant!