#25: Filtering interface on ForeignKey <select> boxes -------------------------------------------+-------------------------------- Reporter: adrian | Owner: cpharmston Status: assigned | Milestone: 1.3 Component: django.contrib.admin | Version: SVN Resolution: | Keywords: feature Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | -------------------------------------------+-------------------------------- Comment (by lrekucki):
This is painfully slow for me right now. I tested this on Chrome 9.x with 2000 objects named "user". After typing in "user" in the filter it took about 3-5 seconds to refresh (on a quite fast machine). Most of the time is spent on re-creating the <option> elements one-by-one. Creating all the HTML in one shot could improve this. Not creating elements again would be probably even better (i.e. keep the option elements in the cache). -- Ticket URL: <http://code.djangoproject.com/ticket/25#comment:22> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.