summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2018-03-21 18:19:39 +0530
committerGitHub2018-03-21 18:19:39 +0530
commit3226e8f455d51967c29171d601783ea4de88306a (patch)
treeb7f5e862e9bcf34a7b07a346015c6d557e148da8 /yaksh/forms.py
parentcb6b1aad8f77035d1bfb598d8b70c51c23c435d7 (diff)
parentd015f6e34d67ac71814f91f99d2bbdfa3458f3cc (diff)
downloadonline_test-3226e8f455d51967c29171d601783ea4de88306a.tar.gz
online_test-3226e8f455d51967c29171d601783ea4de88306a.tar.bz2
online_test-3226e8f455d51967c29171d601783ea4de88306a.zip
Merge pull request #450 from adityacp/change_student_dashboard
Student Dashboard Changes
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 e53eda3..97b3108 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -85,10 +85,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"]