Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a99eb773
Commit
a99eb773
authored
Aug 13, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix constructor bug
parent
5c48b40f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
common/lib/xmodule/xmodule/survey_module.py
+5
-5
No files found.
common/lib/xmodule/xmodule/survey_module.py
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment