This commit is contained in:
Asif Saif Uddin 2018-10-25 22:53:24 +06:00
parent 47036c0ce6
commit 15a3952c7b

View File

@ -1472,7 +1472,7 @@ class MultipleChoiceField(ChoiceField):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
self.allow_empty = kwargs.pop('allow_empty', True) self.allow_empty = kwargs.pop('allow_empty', True)
super().__init__(*args, **kwargs) super(MultipleChoiceField, self).__init__(*args, **kwargs)
def get_value(self, dictionary): def get_value(self, dictionary):
if self.field_name not in dictionary: if self.field_name not in dictionary: