diff options
author | ankitjavalkar | 2019-02-01 14:47:20 +0530 |
---|---|---|
committer | ankitjavalkar | 2019-02-01 14:47:20 +0530 |
commit | c70cf2a0fd8e51d4b689e08d78021cac848b0187 (patch) | |
tree | 609a448874df27c2474859da4a965f1293268246 /yaksh/forms.py | |
parent | 64298d4afebdece1eaccb363e83dc64db6645c45 (diff) | |
download | online_test-c70cf2a0fd8e51d4b689e08d78021cac848b0187.tar.gz online_test-c70cf2a0fd8e51d4b689e08d78021cac848b0187.tar.bz2 online_test-c70cf2a0fd8e51d4b689e08d78021cac848b0187.zip |
Change Course Listing UI on Student Dashboard
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): |