Hi Sven, you are right. For this particular case select2 would be an ill advice. But I didn't initially add support for m2m fields. I just added it later to my pull-requested, since it was only one line of code. And some people would have found a usecase for It.
At the end this will be an optional feature and I wouldn't enable it for users and groups ether. But than I don't have too. Thanks for the feedback! Joe On Saturday, April 23, 2016 at 11:32:22 PM UTC+2, Sven R. Kunze wrote: > > Hi, I hope I am not too late to the discussion (and I hope it's the right > one). :) > > Am Mittwoch, 6. April 2016 15:42:58 UTC+2 schrieb Collin Anderson: > - Why select2? I haven't heard any serious proposals of a different > library to use. > > Internally, we had the same debate of upgrading our widgets for > ForeignKey/ManyToMany, so I would like to share the current result with you. > > Unfortunately, we ended up with two different widgets: > > 1) django-selectable > 2) select2 > > > We found that select2 only makes sense for a *very very small number* of > selected items but allows on-the-fly creation of items even for > many-to-many relations. Thus, we use if for email address fields and tags: > foreign keys but text input suffices for creation. > > > On the other hand, if you need to distribute 800 users among 70 groups, > where even half the users can be in a single group, then select2 is not the > right widget. That's where selectable comes in. The presentation of the > selection *as a list* appears to be less confusing. > > Just wanted to share this with you even if you might already have decided > to use select2. > > Sven > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ac69257d-e01a-46fa-b24c-cd7810dda636%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.