1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #33070 -- Fixed loading translations with language subtags in admin's Select2 widget.

This commit is contained in:
Cleiton Lima
2021-09-20 15:56:54 -03:00
committed by Mariusz Felisiak
parent 32b7ffc2bb
commit 8eb5693091
2 changed files with 5 additions and 3 deletions

View File

@@ -72,7 +72,8 @@ class AutocompleteMixinTests(TestCase):
'data-app-label': 'admin_widgets',
'data-field-name': 'band',
'data-model-name': 'album',
'data-placeholder': ''
'data-placeholder': '',
'lang': 'en',
})
def test_build_attrs_no_custom_class(self):