From 81c3d0b77de2f6cd131ab8c60729f7e2e4947559 Mon Sep 17 00:00:00 2001 From: ashwini shinde Date: Wed, 23 Sep 2015 13:13:27 +0530 Subject: added value for "Select a Tutorial" for tutorial choice To Get a "Select a Tutorial" value in cutom.js--- website/forms.py | 4 ++-- 1 file 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 -- cgit