X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/8a7ab75997519a2e99d8a1bf7218af016eaf187d..bf7348280872f3e17f6cb766f27d57c41d9e2ae0:/models/fields/__init__.py 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):