Add Assignment.submittable attribute to configure student submission.
authorW. Trevor King <wking@tremily.us>
Tue, 24 Apr 2012 20:48:56 +0000 (16:48 -0400)
committerW. Trevor King <wking@tremily.us>
Tue, 24 Apr 2012 20:48:56 +0000 (16:48 -0400)
commit80639ff31b3bc6780659f526d518526cf63fcaec
tree067b08c1a6de0bb46564c4d3beb12ccdcbd3b327
parent4160eb4d6f464e283319089f0ab05a7d95d32259
Add Assignment.submittable attribute to configure student submission.

If `Assignment.submittable` is `True`, mailpipe will accept student
submissions for that assignment.  However, there may also be
assignments where you don't want to accept direct submissions
(e.g. attendance and written, in-class exams).  For these assignments,
you should leave the `submittable` option at its default `False`
value.

Note that `mailpipe` doesn't use this value yet (implementation coming
soon).
pygrader/model/assignment.py
pygrader/storage.py
pygrader/test/course.py
test/course.conf