mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #33888 -- Fixed get_select2_language() crash with no language activated.
Regression in 3079133c73.
This commit is contained in:
parent
a2792d09ad
commit
0638b4e23d
3 changed files with 5 additions and 1 deletions
|
|
@ -179,6 +179,7 @@ class AutocompleteMixinTests(TestCase):
|
|||
("sr-cyrl", "sr-Cyrl"),
|
||||
("zh-hans", "zh-CN"),
|
||||
("zh-hant", "zh-TW"),
|
||||
(None, None),
|
||||
)
|
||||
for lang, select_lang in languages:
|
||||
with self.subTest(lang=lang):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue