django-admin2 icon indicating copy to clipboard operation
django-admin2 copied to clipboard

Custom widget for handling large many-to-many results

Open pydanny opened this issue 11 years ago • 4 comments

  • Use the RESTful API!
  • Document any missing pieces in the RESTful API.
  • Determine API to set which field or fields will be searched against. Perhaps something like:
    <field_name>_search_fields = ['title', '']

pydanny avatar Jul 05 '13 16:07 pydanny

I don't know, but what do you think about the Chosen with an ajax call for retrieving the choices?

I've been using, (but not for large many-to-many results yet), and it work well.

douglasmiranda avatar Jul 05 '13 16:07 douglasmiranda

I think that's a great idea.

pydanny avatar Jul 16 '13 17:07 pydanny

IMO it's important to additionally show the search–icon (which opens the pop–up window), because sometimes you might not get results with an autocomplete field.

sehmaschine avatar Jul 16 '13 17:07 sehmaschine

As always, @sehmaschine is right on the money. :8ball:

pydanny avatar Jul 16 '13 21:07 pydanny