Commit 9d574b4e by Alison Hodges

Merge pull request #8882 from edx/ahodges/randomize_strings

Fixes DOC-841 per multiple requests
parents e5928bac 6f70ed38
...@@ -143,9 +143,10 @@ class CapaFields(object): ...@@ -143,9 +143,10 @@ class CapaFields(object):
) )
rerandomize = Randomization( rerandomize = Randomization(
display_name=_("Randomization"), display_name=_("Randomization"),
help=_("Defines how often inputs are randomized when a student loads the problem. " help=_(
"This setting only applies to problems that can have randomly generated numeric values. " 'Defines when to randomize the variables specified in the associated Python script. '
"A default value can be set in Advanced Settings."), 'For problems that do not randomize values, specify \"Never\". '
),
default=RANDOMIZATION.NEVER, default=RANDOMIZATION.NEVER,
scope=Scope.settings, scope=Scope.settings,
values=[ values=[
......
...@@ -98,7 +98,12 @@ class InheritanceMixin(XBlockMixin): ...@@ -98,7 +98,12 @@ class InheritanceMixin(XBlockMixin):
) )
rerandomize = String( rerandomize = String(
display_name=_("Randomization"), 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, scope=Scope.settings,
default="never", default="never",
) )
......
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