Enable select2 for Django3 admin select inputs.
Automatically applies to all selects, excluding filtered selects (e.g. auth.User.groups).
Tested with Python 3.6 and Django 3.1.8.
pip install django3-admin-select2Update settings.py:
INSTALLED_APPS = [
...
# must go before django.contrib.admin
'django3_admin_select2',
...
]This app adds an overriding template for admin/base_site.html, adding the required css and js to extrahead and footer blocks respectively.
Note that Django admin's builtin Select2 only applies to ForeignKey and ManyToManyField.
This project was forked from mgd020/django-admin-select2.