Remove flatchoices property - fixes #37
This commit is contained in:
parent
d997a7a422
commit
ffcb337744
1 changed files with 0 additions and 4 deletions
|
@ -57,10 +57,6 @@ class MultiSelectField(models.CharField):
|
||||||
if self.max_choices is not None:
|
if self.max_choices is not None:
|
||||||
self.validators.append(MaxChoicesValidator(self.max_choices))
|
self.validators.append(MaxChoicesValidator(self.max_choices))
|
||||||
|
|
||||||
@property
|
|
||||||
def flatchoices(self):
|
|
||||||
return None
|
|
||||||
|
|
||||||
def get_choices_default(self):
|
def get_choices_default(self):
|
||||||
return self.get_choices(include_blank=False)
|
return self.get_choices(include_blank=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue