Database Switcheroo
Switching the database is quite fun with Django. In my case I'm slowly migrating my sites from MySQL to Postgres.
- manage dumpdata will produce a database independent XML or JSON dump
- manage syncdb will take care of producing a almost empty database skeleton
- the tables auth_permission and django_content_type in the database sekelton need to be cleaned completely
- manage loaddata reads the data from the dump and writes it back into the your new database
Rejoice.