# HG changeset patch # User Nishanth Amuluru # Date 1294431334 -19800 # Node ID ce5f3cdbd5450031f18b4b5f0e211afcef649e49 # Parent 8f50caa63cd1bf2bd90fd8401c618f266c306d7e Used the new field in forms diff -r 8f50caa63cd1 -r ce5f3cdbd545 profile/forms.py --- 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']