On Fri, Jun 20, 2008 at 9:14 PM, Jeff FW <[EMAIL PROTECTED]> wrote:
>
> I haven't yet used Django's dumpdata and loaddata, but I've used
> mysqldump about a million times.  (That's mostly what we use at my
> job, though I've been slowly pushing us towards postgres.)  Try
> adding:
>
> /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
> FOREIGN_KEY_CHECKS=0 */;
>
> at the top of the file, and:
>
> /*!40014 SET [EMAIL PROTECTED] */;
>
> at the bottom.  That *should* do it.  Sorry if I'm suggesting
> something you've tried already.

AFAICT, that's the same idea suggested on #3615. The discussion on
that ticket describes why it's not the final solution.

Yours,
Russ Magee %-)

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

Reply via email to