Commit be3bdd3a by John Hess

Merge branch 'johnhess/simple-survey' of github.com:MITx/mitx into simple-survey

parents eb3c5774 a99eb773
...@@ -24,7 +24,7 @@ class SurveyModule(CapaModule): ...@@ -24,7 +24,7 @@ class SurveyModule(CapaModule):
default behavior of a problem for surveying students default behavior of a problem for surveying students
Defaults: Defaults:
-Never Show Answer, no max attempts -Never Show Answer, no max attempts
-No due date unless specified -No due date unless specified
-Only show save button or no buttons -Only show save button or no buttons
...@@ -32,12 +32,12 @@ class SurveyModule(CapaModule): ...@@ -32,12 +32,12 @@ class SurveyModule(CapaModule):
def __init__(self, system, location, definition, descriptor, instance_state=None, def __init__(self, system, location, definition, descriptor, instance_state=None,
shared_state=None, **kwargs): shared_state=None, **kwargs):
CapaModule.__init__(self, system, location, definition, descriptor, instance_state=None, CapaModule.__init__(self, system, location, definition, descriptor, instance_state,
shared_state=None, **kwargs) shared_state, **kwargs)
# no maximum number of attempts so students can # no maximum number of attempts so students can
# always answer surveys # always answer surveys
# if we're interested in cut-off dates, we can use # if we're interested in cut-off dates, we can use
# the "modified" field from the database # the "modified" field from the database
self.max_attempts = None self.max_attempts = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment