diff --git a/CHANGES.rst b/CHANGES.rst index 4610648..53b6918 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,10 +3,12 @@ * Support to Django 1.7 (I'm sorry to the delay) * Adding get_FIELD_list function +* Fix an error when a MultiSelectField was reandonly at the admin site * Thanks to: * `Hernil `_ * `Vasyl Stanislavchuk `_ * `Litchfield `_ + * `Chris-erickson `_ 0.1.2 (2014-04-04) ------------------ diff --git a/multiselectfield/db/fields.py b/multiselectfield/db/fields.py index 59f49e8..c19e340 100644 --- a/multiselectfield/db/fields.py +++ b/multiselectfield/db/fields.py @@ -57,6 +57,10 @@ class MultiSelectField(models.CharField): if self.max_choices is not None: self.validators.append(MaxChoicesValidator(self.max_choices)) + @property + def flatchoices(self): + return None + def get_choices_default(self): return self.get_choices(include_blank=False)