Commit 07e67927 by John Eskew

Change default value from tuple to list. Bump version to 1.5.1.

parent 1bad8058
...@@ -771,8 +771,10 @@ class SurveyBlock(PollBase, CSVExportMixin): ...@@ -771,8 +771,10 @@ class SurveyBlock(PollBase, CSVExportMixin):
block_name = String(default=_('Poll')) block_name = String(default=_('Poll'))
answers = List( answers = List(
default=[ default=[
('Y', _('Yes')), ('N', _('No')), ('Y', _('Yes')),
('M', _('Maybe'))], ('N', _('No')),
('M', _('Maybe'))
],
scope=Scope.settings, help=_("Answer choices for this Survey") scope=Scope.settings, help=_("Answer choices for this Survey")
) )
questions = List( questions = List(
......
...@@ -44,7 +44,7 @@ def package_data(pkg, roots): ...@@ -44,7 +44,7 @@ def package_data(pkg, roots):
setup( setup(
name='xblock-poll', name='xblock-poll',
version='1.5.0', version='1.5.1',
description='An XBlock for polling users.', description='An XBlock for polling users.',
packages=[ packages=[
'poll', 'poll',
......
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