#26561: SelectBox Too Slow With Thousands of Options
----------------------------+----------------------------------------------
Reporter: dsanders11 | Owner: nobody
Type: | Status: new
Uncategorized |
Component: | Version: master
contrib.admin |
Severity: Normal | Keywords: selectbox admin many-to-many m2m
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
----------------------------+----------------------------------------------
There's several tickets and patches over the years regarding this, but
nothing has come of it, and it's still slow after 9 (!) years. The last
ticket I can find that made meaningful progress on it was #3202 which
itself was closed in preference of #15220 rewriting it to jQuery 5 years
ago, which had some work as recently as 9 months ago but then teetered
out.
IMO this issue shouldn't continue to be kicked down the road, and a patch
should be accepted for improved performance even if it doesn't close
#15220. It's not an easy problem for third-party apps to address and when
it gets slow it gets too slow to function.
I'm providing a pull request with changes that greatly improved
performance in my testing with 20,000 items. It's still laggy but that's
to be expected, and the goal here isn't to make it smooth as butter, but
functionally useable for users.
--
Ticket URL: <https://code.djangoproject.com/ticket/26561>
Django <https://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 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.b7bcb7c7e029f84ea8e6678f6edb657d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.