diff options
Diffstat (limited to 'testapp/exam/forms.py')
-rw-r--r-- | testapp/exam/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/exam/forms.py b/testapp/exam/forms.py index 93584a6..74a9b5a 100644 --- a/testapp/exam/forms.py +++ b/testapp/exam/forms.py @@ -187,7 +187,7 @@ class QuestionForm(forms.ModelForm): description = forms.CharField(widget=forms.Textarea\ (attrs={'cols': 40, 'rows': 1})) points = forms.FloatField() - solution = forms.CharField(widget=forms.Textarea\ + test = forms.CharField(widget=forms.Textarea\ (attrs={'cols': 40, 'rows': 1}), required=False) options = forms.CharField(widget=forms.Textarea\ (attrs={'cols': 40, 'rows': 1}), required=False) @@ -216,7 +216,7 @@ class QuestionForm(forms.ModelForm): new_question.summary = summary new_question.description = description new_question.points = points - # new_question.test = test + new_question.test = test new_question.options = options new_question.language = language new_question.type = type |