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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the docs:
In this case, you want the
FilteredSelectMultiplewidget. To use it, apply the widget on a form field like so:Make sure to include the forms
mediain the template as it needs to include a few JS files.