#30722: Rate-limit autocomplete widgets Ajax requests -------------------------------------+------------------------------------- Reporter: Federico Jaramillo | Owner: nobody MartÃnez | Type: | Status: new Cleanup/optimization | Component: contrib.admin | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Federico Jaramillo MartÃnez):
* has_patch: 0 => 1 * type: Uncategorized => Cleanup/optimization Old description: > 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. New description: 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. https://github.com/django/django/pull/11695 -- Comment: Include link to PR -- Ticket URL: <https://code.djangoproject.com/ticket/30722#comment:1> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.7055c9ae9fed82761d1c7c2ca0110312%40djangoproject.com.