diff options
author | ashwini shinde | 2015-09-23 13:13:27 +0530 |
---|---|---|
committer | ashwini shinde | 2015-09-23 13:13:27 +0530 |
commit | 81c3d0b77de2f6cd131ab8c60729f7e2e4947559 (patch) | |
tree | 73d4cda993a938993f4fb9e8bf52e83b7286e406 /website/forms.py | |
parent | 102d861dec83108aff90afeefbccbe5f80d8c16b (diff) | |
download | spoken-tutorial-forums-81c3d0b77de2f6cd131ab8c60729f7e2e4947559.tar.gz spoken-tutorial-forums-81c3d0b77de2f6cd131ab8c60729f7e2e4947559.tar.bz2 spoken-tutorial-forums-81c3d0b77de2f6cd131ab8c60729f7e2e4947559.zip |
added value for "Select a Tutorial" for tutorial choice
To Get a "Select a Tutorial" value in cutom.js
Diffstat (limited to 'website/forms.py')
-rw-r--r-- | website/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/website/forms.py b/website/forms.py index 8d2242a..d6159a4 100644 --- a/website/forms.py +++ b/website/forms.py @@ -4,7 +4,7 @@ from website.models import * from spoken_auth.models import TutorialDetails, TutorialResources, FossCategory from django.db.models import Q tutorials = ( - ("", "Select a Tutorial"), + ("Select a Tutorial", "Select a Tutorial"), ) minutes = ( ) seconds = ( ) @@ -20,7 +20,7 @@ class NewQuestionForm(forms.Form): select_sec = kwargs.pop('second_range', None) super(NewQuestionForm, self).__init__(*args, **kwargs) tutorial_choices = ( - ("", "Select a Tutorial"), + ("Select a Tutorial", "Select a Tutorial"), ) # check minute_range, secpnd_range coming from spoken website # user clicks on post question link through website |