sdi/forms.py
branchanoop
changeset 237 53b9c79dfbf0
parent 234 cf3de6d222ce
child 238 30e39c985e2f
--- 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