11 |
11 |
12 class CustomRegistrationForm(RegistrationFormUniqueEmail): |
12 class CustomRegistrationForm(RegistrationFormUniqueEmail): |
13 """Used instead of RegistrationForm used by default django-registration |
13 """Used instead of RegistrationForm used by default django-registration |
14 backend, this adds aboutme, dob, gender, address, phonenum to the default |
14 backend, this adds aboutme, dob, gender, address, phonenum to the default |
15 django-registration RegistrationForm""" |
15 django-registration RegistrationForm""" |
|
16 |
|
17 full_name = forms.CharField(required=True, max_length=50, |
|
18 label="Name as on your bank account", |
|
19 help_text="Any DD/Cheque will be issued on \ |
|
20 this name") |
16 |
21 |
17 aboutme = forms.CharField(required=True, max_length=1000, label=u"About Me", |
22 aboutme = forms.CharField(required=True, max_length=1000, label=u"About Me", |
18 help_text="A write up about yourself to aid the\ |
23 help_text="A write up about yourself to aid the\ |
19 reviewer in judging your eligibility for a task.\ |
24 reviewer in judging your eligibility for a task.\ |
20 It can have your educational background, CGPA,\ |
25 It can have your educational background, CGPA,\ |