summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authormahesh2017-04-07 16:48:25 +0530
committermahesh2017-04-07 16:48:25 +0530
commitde2a369a4908046eef41f01537fd39442e14365c (patch)
tree6b0dd1067987af463e67defd60a559fc4b49a479 /yaksh/forms.py
parenta9d7b48b6a5a79bf619500463d89f03e8ca1b7bb (diff)
parentad73f7b938b7620ab4be202dc33c699cf5cb4ac5 (diff)
downloadonline_test-de2a369a4908046eef41f01537fd39442e14365c.tar.gz
online_test-de2a369a4908046eef41f01537fd39442e14365c.tar.bz2
online_test-de2a369a4908046eef41f01537fd39442e14365c.zip
Merge branch 'master' of https://github.com/fossee/online_test into kill_stray_processes
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index c6283c8..f7f7a10 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -276,7 +276,8 @@ class CourseForm(forms.ModelForm):
class Meta:
model = Course
- fields = ['name', 'active', 'enrollment', 'instructions']
+ exclude = ['creator', 'requests', 'students', 'rejected',
+ 'created_on', 'is_trial', 'teachers']
class ProfileForm(forms.ModelForm):