I managed to solve the problem. The solution is to explicitly state
the applications (models) that you want to migrate, and leave out
those that get initialized automatically when doing syncdb
(contenttypes). Here's how it worked for me:

production server:
$ python manage.py dumpdata auth custom_apps >db.json

development server:
$ python manage.py syncdb --settings=settings-local
$ python manage.py loaddata --settings=settings-local db.json

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to