Django: AJAX ManyToManyField in admin
问题 I want to display ManyToManyField s in admin just like filter_horizontal does, but populate the options as the user types into the filter field. There are many options and loading them all at once takes a lot of time. I found django-ajax-filtered-fields but it seems to me an overkill as it requires changes to model classes, when all I want to do is to replace every multiple select field in a form. Writing a custom widget field that inherits from admin.widgets.FilteredSelectMultiple seems to