Coverage for lino/modlib/polls/utils.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: UTF-8 -*- # Copyright 2013-2015 Luc Saffre # License: BSD (see file COPYING for details)
"""
""" The list of possible states of a :class:`Poll`. Default is:
.. django2rst::
rt.show(polls.PollStates)
"""
_("Publish"), required_states='draft') _("Close"), required_states='draft published') _("Reopen"), required_states='published closed')
""" The list of possible states of a :class:`Poll`. Default is:
.. django2rst::
rt.show(polls.ResponseStates)
"""
_("Register"), required_states='draft') _("Deregister"), required_states="registered")
|