Skip to content

Commit

Permalink
Remove colon in example for use with ArrayField
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter authored and codingjoe committed Dec 15, 2020
1 parent 9cb9848 commit 709ec19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_select2/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class Select2TagWidget(Select2TagMixin, Select2Mixin, forms.SelectMultiple):
class MyWidget(Select2TagWidget):
def value_from_datadict(self, data, files, name):
values = super().value_from_datadict(data, files, name):
values = super().value_from_datadict(data, files, name)
return ",".join(values)
def optgroups(self, name, value, attrs=None):
Expand Down

0 comments on commit 709ec19

Please sign in to comment.