On Dec 4, 8:38 am, Simon Willison <si...@simonwillison.net> wrote: > We now have two blog posts in each database. But, if I do the > following: > > e1.save(using = 'db2') > > It has the effect of replacing e3 with the values from e2, since the > primary keys collide with each other.
I meant to say - the fix is clearly to call save() with the force_insert=True argument, but it's easy to miss that. Worth explicitly highlighting in the multi-db docs I think. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.