summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-04-06 12:38:33 +0530
committerGitHub2017-04-06 12:38:33 +0530
commitad73f7b938b7620ab4be202dc33c699cf5cb4ac5 (patch)
treeadb65fe68d409206a26e23175c9543c12a47c43a /yaksh/forms.py
parent969cccf998059e0a800276759535a36d3529b3c6 (diff)
parent1a6653567bdf58b5b70e874822cae6a1116b942f (diff)
downloadonline_test-ad73f7b938b7620ab4be202dc33c699cf5cb4ac5.tar.gz
online_test-ad73f7b938b7620ab4be202dc33c699cf5cb4ac5.tar.bz2
online_test-ad73f7b938b7620ab4be202dc33c699cf5cb4ac5.zip
Merge pull request #267 from ankitjavalkar/course-time-window
Multiple changes to Course:
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):