mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget.
This commit is contained in:
committed by
Mariusz Felisiak
parent
691def10a0
commit
8f6860863e
@@ -52,6 +52,7 @@ class AutocompleteMixinTests(TestCase):
|
||||
self.assertEqual(attrs, {
|
||||
'class': 'my-class admin-autocomplete',
|
||||
'data-ajax--cache': 'true',
|
||||
'data-ajax--delay': 250,
|
||||
'data-ajax--type': 'GET',
|
||||
'data-ajax--url': '/admin_widgets/band/autocomplete/',
|
||||
'data-theme': 'admin-autocomplete',
|
||||
|
||||
Reference in New Issue
Block a user