OpenSlides/openslides/poll/__init__.py

14 lines
287 B
Python
Raw Normal View History

2012-02-14 16:31:21 +01:00
from django.utils.translation import ugettext as _
2012-02-15 10:43:08 +01:00
from models import BasePoll
from views import PollFormView
2012-02-14 16:31:21 +01:00
class DesicionPoll(PollFormView):
vote_values = [_('yes'), _('no'), _('contained')]
poll_class = BasePoll
class ChoicePoll(PollFormView):
poll_class = BasePoll