diff options
author | hardythe1 | 2012-02-21 12:38:38 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-21 12:38:38 +0530 |
commit | 2b6b595ca8652696ab9059add8ea54661cab5f31 (patch) | |
tree | 39906c360056c2cafc65e088e7cc6115954b01df /testapp/exam/forms.py | |
parent | 6b608e174fbd9367c9453f7933b69a35516811d2 (diff) | |
download | online_test-2b6b595ca8652696ab9059add8ea54661cab5f31.tar.gz online_test-2b6b595ca8652696ab9059add8ea54661cab5f31.tar.bz2 online_test-2b6b595ca8652696ab9059add8ea54661cab5f31.zip |
views for editing quiz and questions
Diffstat (limited to 'testapp/exam/forms.py')
-rw-r--r-- | testapp/exam/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/exam/forms.py b/testapp/exam/forms.py index f0c515a..1788a08 100644 --- a/testapp/exam/forms.py +++ b/testapp/exam/forms.py @@ -123,7 +123,7 @@ class QuizForm(forms.Form): new_quiz.description=description new_quiz.save() -class AddQuestionForm(forms.Form): +class QuestionForm(forms.Form): summary = forms.CharField(max_length = 128) description = forms.CharField(widget = forms.Textarea(attrs={'cols': 20, 'rows': 3})) points = forms.FloatField() |