Re: Migrating a database from Django 1.1/postgress to 1.3/MySQL

2012-04-10 Thread Marcin Tustin
syncdb has probably already created your content types. I strongly suggest that you use the option --exclude contenttypes (and any other app that is likely to create its own data during sync/migration). On Tue, Apr 10, 2012 at 17:59, Roy Smith wrote: > I've got an old site running Django 1.1 wi

Migrating a database from Django 1.1/postgress to 1.3/MySQL

2012-04-10 Thread Roy Smith
I've got an old site running Django 1.1 with a postgress backend. I'm moving it to Django 1.3, with MySQL. I dumped all the old data with: $ python manage.py dumpdata --indent 2 > materia-dump.2012-04-06.json I created a brand new MySQL database and ran syncdb, then tried to import the data w