On 1/30/07, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > Article.authors = [Author(id) for id in [4,7]] > > I.e. Author(id) creates some strange incomplete object that can be > nonetheless used for m2m relations since only an id is needed. Would > this suffice?
I hadn't considered that approach. I'm not a big fan of the half-complete object instance, though. It strikes me as a little messy, and if it were accidentally saved, you would get some interesting fireworks. However, it would work, and you can't argue with results. That said, Adrian has stepped in and committed #3389 for me, which renders this part of the conversation moot. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
