Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-poll
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
xblock-poll
Commits
add89e14
Unverified
Commit
add89e14
authored
Jun 08, 2018
by
Matjaz Gregoric
Committed by
GitHub
Jun 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #42 from doctoryes/jeskew/fix_field_warning
Fix frequent warning.
parents
1bad8058
07e67927
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
poll/poll.py
+4
-2
setup.py
+1
-1
No files found.
poll/poll.py
View file @
add89e14
...
...
@@ -771,8 +771,10 @@ class SurveyBlock(PollBase, CSVExportMixin):
block_name
=
String
(
default
=
_
(
'Poll'
))
answers
=
List
(
default
=
[
(
'Y'
,
_
(
'Yes'
)),
(
'N'
,
_
(
'No'
)),
(
'M'
,
_
(
'Maybe'
))],
(
'Y'
,
_
(
'Yes'
)),
(
'N'
,
_
(
'No'
)),
(
'M'
,
_
(
'Maybe'
))
],
scope
=
Scope
.
settings
,
help
=
_
(
"Answer choices for this Survey"
)
)
questions
=
List
(
...
...
setup.py
View file @
add89e14
...
...
@@ -44,7 +44,7 @@ def package_data(pkg, roots):
setup
(
name
=
'xblock-poll'
,
version
=
'1.5.
0
'
,
version
=
'1.5.
1
'
,
description
=
'An XBlock for polling users.'
,
packages
=
[
'poll'
,
...
...
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