summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authormaheshgudi2018-03-21 19:14:09 +0530
committermaheshgudi2018-03-21 19:14:09 +0530
commit09ab00808ba9ea288047662e5c7ee2a134f0ac41 (patch)
treeb9ad94f07ae3891295656203c169cb0b03b08d96 /yaksh/forms.py
parentefeeaae745f32c4da34f91ca3618d7c3441a5f32 (diff)
parent4b356aa2f6097cd0f46292218f31ded18b631e53 (diff)
downloadonline_test-09ab00808ba9ea288047662e5c7ee2a134f0ac41.tar.gz
online_test-09ab00808ba9ea288047662e5c7ee2a134f0ac41.tar.bz2
online_test-09ab00808ba9ea288047662e5c7ee2a134f0ac41.zip
Merge branch 'master' of https://github.com/fossee/online_test into arrange_options
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index cbf3033..9a44cfa 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -86,10 +86,12 @@ class UserRegisterForm(forms.Form):
department = forms.CharField(
max_length=64, help_text='Department you work/study at')
position = forms.CharField(
- max_length=64, help_text='Student/Faculty/Researcher/Industry/etc.')
+ max_length=64,
+ help_text='Student/Faculty/Researcher/Industry/Fellowship/etc.')
timezone = forms.ChoiceField(
choices=[(tz, tz) for tz in pytz.common_timezones],
- initial=pytz.utc)
+ help_text='Course timings are shown based on the selected timezone',
+ initial=pytz.country_timezones['IN'][0])
def clean_username(self):
u_name = self.cleaned_data["username"]