profile/forms.py
changeset 62 ce5f3cdbd545
parent 31 dde894b36370
--- a/profile/forms.py	Sat Jan 08 01:44:49 2011 +0530
+++ b/profile/forms.py	Sat Jan 08 01:45:34 2011 +0530
@@ -14,6 +14,11 @@
     backend, this adds aboutme, dob, gender, address, phonenum to the default 
     django-registration RegistrationForm"""
 
+    full_name = forms.CharField(required=True, max_length=50, 
+                                label="Name as on your bank account", 
+                                help_text="Any DD/Cheque will be issued on \
+                                           this name")
+
     aboutme = forms.CharField(required=True, max_length=1000, label=u"About Me",
                               help_text="A write up about yourself to aid the\
                               reviewer in judging your eligibility for a task.\
@@ -85,4 +90,4 @@
 
     class Meta:
         model = Profile
-        fields = ['aboutme', 'gender', 'dob', 'address', 'phonenum']
+        fields = ['full_name', 'aboutme', 'gender', 'dob', 'address', 'phonenum']