Merge pull request #8882 from edx/ahodges/randomize_strings
Fixes DOC-841 per multiple requests
This commit is contained in:
@@ -143,9 +143,10 @@ class CapaFields(object):
|
||||
)
|
||||
rerandomize = Randomization(
|
||||
display_name=_("Randomization"),
|
||||
help=_("Defines how often inputs are randomized when a student loads the problem. "
|
||||
"This setting only applies to problems that can have randomly generated numeric values. "
|
||||
"A default value can be set in Advanced Settings."),
|
||||
help=_(
|
||||
'Defines when to randomize the variables specified in the associated Python script. '
|
||||
'For problems that do not randomize values, specify \"Never\". '
|
||||
),
|
||||
default=RANDOMIZATION.NEVER,
|
||||
scope=Scope.settings,
|
||||
values=[
|
||||
|
||||
@@ -98,7 +98,12 @@ class InheritanceMixin(XBlockMixin):
|
||||
)
|
||||
rerandomize = String(
|
||||
display_name=_("Randomization"),
|
||||
help=_("Specify how often variable values in a problem are randomized when a student loads the problem. Valid values are \"always\", \"onreset\", \"never\", and \"per_student\". This setting only applies to problems that have randomly generated numeric values."),
|
||||
help=_(
|
||||
'Specify the default for how often variable values in a problem are randomized. '
|
||||
'This setting should be set to \"never\" unless you plan to provide a Python '
|
||||
'script to identify and randomize values in most of the problems in your course. '
|
||||
'Valid values are \"always\", \"onreset\", \"never\", and \"per_student\".'
|
||||
),
|
||||
scope=Scope.settings,
|
||||
default="never",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user