OpenSlides/openslides/poll/serializers.py

17 lines
284 B
Python
Raw Normal View History

2019-10-18 14:18:49 +02:00
BASE_POLL_FIELDS = (
"state",
"type",
"title",
"groups",
"votesvalid",
"votesinvalid",
"votescast",
"options",
"voted",
"id",
)
2019-10-18 14:18:49 +02:00
BASE_OPTION_FIELDS = ("id", "yes", "no", "abstain", "votes")
2019-10-18 14:18:49 +02:00
BASE_VOTE_FIELDS = ("id", "weight", "value", "user")