ModelAdmin.filter_horizontal
By default, a ManyToManyField
is displayed in the admin site with a <select multiple>
. However, multiple-select boxes can be difficult to use when selecting many items. Adding a ManyToManyField
to this list will instead use a nifty unobtrusive JavaScript “filter” interface that allows searching within the options. The unselected and selected options appear in two boxes side by side. See filter_vertical
to use a vertical interface.
Please login to continue.