X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/b3e16b23802c9bc5a99193f9e9551b4378ee1119..82b08f79564159d7acbcaf255ed1ac1fb4882e64:/models/fields/__init__.py?ds=inline diff --git a/models/fields/__init__.py b/models/fields/__init__.py index d900e31..1f9603e 100644 --- a/models/fields/__init__.py +++ b/models/fields/__init__.py @@ -109,8 +109,7 @@ class SlugMultipleChoiceField(models.Field): del kwargs[k] defaults.update(kwargs) - # Django 1.2 does not supply MultipleChoiceField - form_class = getattr(forms, 'TypedMultipleChoiceField', forms.MultipleChoiceField) + form_class = forms.TypedMultipleChoiceField return form_class(**defaults) def validate(self, value, model_instance):