changeset 753 | 7d6dead86b59 |
parent 741 | 2dc2c65c5f76 |
child 866 | 6c918ceba37a |
--- a/app/soc/views/helper/forms.py Mon Dec 15 01:11:12 2008 +0000 +++ b/app/soc/views/helper/forms.py Mon Dec 15 01:12:28 2008 +0000 @@ -57,7 +57,7 @@ Args: *args, **kwargs: passed through to parent __init__() constructor """ - super(BaseForm, self).__init__(*args, **kwargs) + super(djangoforms.ModelForm, self).__init__(*args, **kwargs) for field_name in self.fields.iterkeys(): # Since fields can be added only to the ModelForm subclass, check to