I'm migrating my Django database from sqlite to mysql. I've done the
following with no problems:
python manage.py dumpdata > datadump.json Changed my settings.py to
the mysql database.

But when I issue the following command python manage.py loaddata
datadump.json I get this error:
IntegrityError: (1062, "Duplicate entry '13-13' for key
'from_category_id'")

How do I go go about fixing this issue so that I can run the command
again and hopefully load my data into my site?

thanks,
j.

-- 
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