mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 19:10:12 +03:00
kept a super() call explicit due to https://stackoverflow.com/questions/31895302/python3s-super-and-comprehensions-typeerror
This commit is contained in:
parent
47036c0ce6
commit
15a3952c7b
|
@ -1472,7 +1472,7 @@ class MultipleChoiceField(ChoiceField):
|
|||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.allow_empty = kwargs.pop('allow_empty', True)
|
||||
super().__init__(*args, **kwargs)
|
||||
super(MultipleChoiceField, self).__init__(*args, **kwargs)
|
||||
|
||||
def get_value(self, dictionary):
|
||||
if self.field_name not in dictionary:
|
||||
|
|
Loading…
Reference in New Issue
Block a user