17 lines
284 B
Python
17 lines
284 B
Python
BASE_POLL_FIELDS = (
|
|
"state",
|
|
"type",
|
|
"title",
|
|
"groups",
|
|
"votesvalid",
|
|
"votesinvalid",
|
|
"votescast",
|
|
"options",
|
|
"voted",
|
|
"id",
|
|
)
|
|
|
|
BASE_OPTION_FIELDS = ("id", "yes", "no", "abstain", "votes")
|
|
|
|
BASE_VOTE_FIELDS = ("id", "weight", "value", "user")
|