2👍
✅
It sounds like you are describing the raw_id_fields option of admin…
class YourAdmin(admin.ModelAdmin):
raw_id_fields = ('field1','field2')
0👍
easiest way – write your own custom widget and connect search field and drop down through js code.
But i think that you trying to get more than contrib.admin can give. contrib.admin is good developer tool, but if you need good custom interface – you should create it yourself.
- [Answered ]-Possible to do with django forms?
- [Answered ]-Django modelform validation get field from db if not if form
- [Answered ]-Redirecting from view to another html page with another url slug in Django 1.6
Source:stackexchange.com