The Django admin site makes use of a really cool widget:
How can I make use of this widget in my own applications? I don't see anything like that listed here.
The Django admin site makes use of a really cool widget:
How can I make use of this widget in my own applications? I don't see anything like that listed here.
From the docs:
In this case, you want the
FilteredSelectMultiple
widget. To use it, apply the widget on a form field like so:Make sure to include the forms
media
in the template as it needs to include a few JS files.