diff options
author | ankitjavalkar | 2017-03-30 18:10:09 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-03-31 11:24:06 +0530 |
commit | 171a82aa3ef07fc9344c8c5b42542bec0a3ca5ab (patch) | |
tree | 5180d1920b1d936aeeadb3f07760d4d4db08e0d6 /yaksh/forms.py | |
parent | 734ad94d177be8ad400eb6f97e98612ce099e56a (diff) | |
download | online_test-171a82aa3ef07fc9344c8c5b42542bec0a3ca5ab.tar.gz online_test-171a82aa3ef07fc9344c8c5b42542bec0a3ca5ab.tar.bz2 online_test-171a82aa3ef07fc9344c8c5b42542bec0a3ca5ab.zip |
Multiple changes to Course:
- Allow a start and end time for Course enrollment
- Allow Course to be editable
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index c6283c8..a0eee71 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'] + fields = ['name', 'active', 'enrollment', + 'start_enroll_time', 'end_enroll_time', 'instructions'] class ProfileForm(forms.ModelForm): |