#30722: Rate-limit autocomplete widgets Ajax requests
-------------------------------------+-------------------------------------
Reporter: Federico | Owner: nobody
Jaramillo MartÃnez |
Type: | Status: new
Uncategorized |
Component: | Version: master
contrib.admin |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The current implementation of the Ajax autocomplete widget using Select2
in Django triggers a request for every key-press. This creates unnecessary
load on servers.
This patch rate-limit the requests by adding a delay using the
`ajax.delay` option provided by Select2.
--
Ticket URL: <https://code.djangoproject.com/ticket/30722>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.315dcc6dc7dd4e7812743b5d6e633eb0%40djangoproject.com.