Skip to content

Options

hypha.apply.determinations.options

REJECTED module-attribute

REJECTED = 0

NEEDS_MORE_INFO module-attribute

NEEDS_MORE_INFO = 1

ACCEPTED module-attribute

ACCEPTED = 2

DETERMINATION_CHOICES module-attribute

DETERMINATION_CHOICES = ((REJECTED, gettext_lazy('Dismissed')), (NEEDS_MORE_INFO, gettext_lazy('More information requested')), (ACCEPTED, gettext_lazy('Approved')))

DETERMINATION_TO_OUTCOME module-attribute

DETERMINATION_TO_OUTCOME = {'rejected': REJECTED, 'accepted': ACCEPTED, 'more_info': NEEDS_MORE_INFO}

TRANSITION_DETERMINATION module-attribute

TRANSITION_DETERMINATION = {name: DETERMINATION_TO_OUTCOME[type]for (name, type) in items()}