diff options
author | adityacp | 2018-03-23 16:13:48 +0530 |
---|---|---|
committer | adityacp | 2018-03-23 16:13:48 +0530 |
commit | 6ea7ee3b6d57d3a3fe737ac1870978c37fc09ce1 (patch) | |
tree | ec7e0264b0818229ab256e3dcf4cdf32aa11b40c /yaksh/forms.py | |
parent | 3577245efdd6b7ea479bb499633d38bb86aa81d7 (diff) | |
parent | d4f49e8a93ed2ce2e63bd67fa77aa75741c2d6c5 (diff) | |
download | online_test-6ea7ee3b6d57d3a3fe737ac1870978c37fc09ce1.tar.gz online_test-6ea7ee3b6d57d3a3fe737ac1870978c37fc09ce1.tar.bz2 online_test-6ea7ee3b6d57d3a3fe737ac1870978c37fc09ce1.zip |
Merge https://github.com/fossee/online_test into release-0.8
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index 97b3108..41c9176 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -35,6 +35,7 @@ question_types = ( ("integer", "Answer in Integer"), ("string", "Answer in String"), ("float", "Answer in Float"), + ("arrange", "Arrange in Correct Order"), ) test_case_types = ( @@ -281,7 +282,7 @@ class CourseForm(forms.ModelForm): class Meta: model = Course fields = ['name', 'enrollment', 'active', 'code', 'instructions', - 'start_enroll_time', 'end_enroll_time'] + 'start_enroll_time', 'end_enroll_time', 'grading_system'] class ProfileForm(forms.ModelForm): |