Convert select multiple widget to checkboxes in django admin form
I think this should be a nice post talking about the substitution of the default multiple select widget used in django admin interface to deal with m2m fields, with a multiple checkbox widget.
Yes I know, you may solve it this way, but I don't like such solution very much, and I think it is just not perfect for some reasons:
- At the time of this writing the add related functionality (+) seems to be broken, throws an error, at least for me
- It just can't be used with the django-mptt application, which is awesome to deal with data which have a tree like structure
So to graphically explain what we want to do here, say we want this ...