diff options
author | King | 2019-02-26 22:43:10 +0530 |
---|---|---|
committer | GitHub | 2019-02-26 22:43:10 +0530 |
commit | dda5b4626a6df366860b0079447137b709d46d88 (patch) | |
tree | fefe4594ee8837c4eeb52ea853adc69544e0608b /yaksh/forms.py | |
parent | 8b5674dbd170307f5acac63fa1c53fd94dbe990e (diff) | |
parent | 055dcaa679d50baab56b7e0c20b8de19a400d11c (diff) | |
download | online_test-dda5b4626a6df366860b0079447137b709d46d88.tar.gz online_test-dda5b4626a6df366860b0079447137b709d46d88.tar.bz2 online_test-dda5b4626a6df366860b0079447137b709d46d88.zip |
Merge pull request #566 from ankitjavalkar/toggle-view-grade
Toggle view grade and other UI improvements
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index a51e6c2..57140bc 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -282,8 +282,11 @@ class CourseForm(forms.ModelForm): class Meta: model = Course - fields = ['name', 'enrollment', 'active', 'code', 'instructions', - 'start_enroll_time', 'end_enroll_time', 'grading_system'] + fields = [ + 'name', 'enrollment', 'active', 'code', 'instructions', + 'start_enroll_time', 'end_enroll_time', 'grading_system', + 'view_grade' + ] class ProfileForm(forms.ModelForm): |