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 -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -