# HG changeset patch # User nishanth # Date 1283509704 -19800 # Node ID cf3de6d222ce84131e1824549d363993d03ac096 # Parent c5df028e44385304b25659a32824762526b31bf9 added form for editing address and name diff -r c5df028e4438 -r cf3de6d222ce sdi/forms.py --- a/sdi/forms.py Fri Aug 27 14:09:04 2010 +0530 +++ b/sdi/forms.py Fri Sep 03 15:58:24 2010 +0530 @@ -206,3 +206,8 @@ return myF(post_data) if post_data else myF() +def EditAddressForm(forms.ModelForm): + + class Meta: + model = Regristrant + fields = ["first_name", "last_name", "address"]