mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-04-22 05:54:44 +00:00
Merge pull request #191 from bubenkoff/patch-1
Force unicode for widget choice labels
This commit is contained in:
commit
992ad4de01
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ class HeavySelect2Mixin(Select2Mixin):
|
|||
|
||||
for val, txt in chain(self_choices, all_choices):
|
||||
val = force_text(val)
|
||||
choices_dict[val] = txt
|
||||
choices_dict[val] = force_text(txt)
|
||||
|
||||
for val in selected_choices:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue