Russell Keith-Magee wrote:
> I can see the merit in finishing the descriptor protocol
> for all m2m objects. So:
>
> book.authors = [author1, author2]
> would be equivalent to
> book.author.clear(); book.author.add(author1, author2)

Assigning a list implies assigning an order. How about:

book.authors.set([author1, author2])

Kieran


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to