summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorankitjavalkar2017-04-05 18:31:56 +0530
committerankitjavalkar2017-04-05 18:39:56 +0530
commit1a6653567bdf58b5b70e874822cae6a1116b942f (patch)
tree572063b72ba895d6961ed4ae3d01198399a5db1c /yaksh/forms.py
parent55bbe6b8da21401983876555150aa0bf856e4d40 (diff)
downloadonline_test-1a6653567bdf58b5b70e874822cae6a1116b942f.tar.gz
online_test-1a6653567bdf58b5b70e874822cae6a1116b942f.tar.bz2
online_test-1a6653567bdf58b5b70e874822cae6a1116b942f.zip
Add multiple fixes based on code review
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index a0eee71..f7f7a10 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -276,8 +276,8 @@ class CourseForm(forms.ModelForm):
class Meta:
model = Course
- fields = ['name', 'active', 'enrollment',
- 'start_enroll_time', 'end_enroll_time', 'instructions']
+ exclude = ['creator', 'requests', 'students', 'rejected',
+ 'created_on', 'is_trial', 'teachers']
class ProfileForm(forms.ModelForm):