python - Representing ManyToMany relation in Django as two multichoices -


i have many2many fields lot of options choose , i'd have 2 multichoices each one, on left available options , on right side chosen ones. here example django groups.

groups django auth app

i have 2 questions:

  1. how kind of "widged" called?
  2. how can implement using django 1.5.1 in easy way in order use in frontend , in backend forms? there native option or 3rd party app?

thanks!

this widget called filteredselectmultiple. can used in django admin through filter_horizontal or filter_vertical property of modeladmin class. if want implement such widget yourself, perhaps source code may helpful.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -