That is what I thought as well, however I checked, and the
_add_items() method is only called once with the correct objects
(meaning the existing keywords and the keywords that I added).

Are you telling me that the admin actually has it's own method for
setting the relationships that is outside the
django.models.fields.related module?



//Dmitri

On Nov 7, 2:02 am, Collin Grady <[EMAIL PROTECTED]> wrote:
> Are you seeing this behavior in admin? If so, I believe that is what is
> actually at fault, since it hard-sets m2ms, which would clear anything
> set in save().
>
> Also, you don't need to call save() again after adding to an m2m, since
> it does not edit the model instance itself, but the related table.
>
> --
> Collin Grady
>
> Haste makes waste.
>                 -- John Heywood


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to