--- a/sdi/forms.py Fri Sep 03 16:04:54 2010 +0530 +++ b/sdi/forms.py Fri Sep 03 16:07:30 2010 +0530 @@ -206,7 +206,7 @@ return myF(post_data) if post_data else myF() -def EditAddressForm(forms.ModelForm): +class EditAddressForm(forms.ModelForm): class Meta: model = Regristrant