On 13 June 2013 07:41, Simon Meers <[email protected]> wrote: > On 13 June 2013 03:33, <[email protected]> wrote: > >> I think that the usability of ForeignKeyRawIdWidget could be vastly >> improved if the representation part of the widget (the object name, in >> bold) were to be updated when a new object gets chosen. I think this could >> be done relatively easily with a small change introducing little extra >> complexity. >> > The handling of raw IDs, particularly in a comma-separated list for > many-to-many relationships, is arguably the biggest user-facing "wart" in > the current admin implementation. The sheer number of available related > objects often makes listing the full set in a dropdown or other widget > unfeasible, forcing developers to resort to the raw ID mechanism to a) > improve efficiency in terms of database-querying and response/DOM-size, and > b) make the selection interface manageable and allow > searching/filtering/pagination/etc. Providing a textual representation of > the object as per the standard widgets makes sense here. >
Julien Phalip has recently put a new patch together for this -- see https://code.djangoproject.com/ticket/7028#comment:74 -- reviews would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. For more options, visit https://groups.google.com/groups/opt_out.
