Since DbModelForm has been renamed to BaseForm change super() call from BaseForm to djangoforms.ModelForm in soc.views.helper.forms module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 15 Dec 2008 01:12:28 +0000
changeset 753 7d6dead86b59
parent 752 e9a45874fe37
child 754 ed78bb93a287
Since DbModelForm has been renamed to BaseForm change super() call from BaseForm to djangoforms.ModelForm in soc.views.helper.forms module. Patch by: Pawel Solyga
app/soc/views/helper/forms.py
--- 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