Django Custom Widget For ManyToMany field

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-06-09T13:47:28Z Indexed on 2010/06/09 13:52 UTC
Read the original article Hit count: 537

Does anyone know of a widget that displays 2 select boxes. One shows a list of all object in a model and the other shows the objects which have been selected. The user can then select an object from the first list, click an >> button which moves it to the 'selected' list. Then when the form is saved the objects in the selected list are saved in the manytomany field.

Thanks

© Stack Overflow or respective owner

Related posts about django

Related posts about django-forms