[BangPypers] Reseting contenttype for dumpdata/loaddata

Amit Sethi amit.pureenergy at gmail.com
Tue Jul 19 11:47:43 CEST 2011

Hi All,
I am having trouble loading Django fixtures into my database because
of contenttypes conflicts. Some of the data i need has foreignkey
elements in the contenttypes model.

Apparently the problem is that django  dynamically tries to populate
the content-types table. But if we put data into the table, the
primary keys  clash. Anybody knows a workaround for this.

More information about the BangPypers mailing list