예제 #1
0
 class TaskMemberStatuses(DjangoChoices):
     applied = ChoiceItem('applied', label=_('Applied'))
     accepted = ChoiceItem('accepted', label=_('Accepted'))
     rejected = ChoiceItem('rejected', label=_('Rejected'))
     stopped = ChoiceItem('stopped', label=_('Stopped'))
     withdrew = ChoiceItem('withdrew', label=_('Withdrew'))
     realized = ChoiceItem('realized', label=_('Realised'))
     absent = ChoiceItem('absent', label=_('Absent'))
예제 #2
0
 class NotificationType(DjangoChoices):
     LIKE = ChoiceItem('Like')
     COMMENT = ChoiceItem('Comment')
     FOLLOW = ChoiceItem('Follow')
예제 #3
0
 class TaskAcceptingChoices(DjangoChoices):
     manual = ChoiceItem('manual', label=_('Manual'))
     automatic = ChoiceItem('automatic', label=_('Automatic'))
예제 #4
0
 class TaskTypes(DjangoChoices):
     ongoing = ChoiceItem('ongoing', label=_('Ongoing (with deadline)'))
     event = ChoiceItem('event', label=_('Event (on set date)'))
예제 #5
0
 class VoucherLanguages(DjangoChoices):
     en = ChoiceItem('en', label=_("English"))
     nl = ChoiceItem('nl', label=_("Dutch"))
예제 #6
0
 class PlatformTypes(DjangoChoices):
     corporate = ChoiceItem('corporate', label=_('Corporate'))
     programs = ChoiceItem('programs', label=_('Programs'))
     civic = ChoiceItem('civic', label=_('Civic'))
예제 #7
0
 class EmbedTypes(DjangoChoices):
     dashboard = ChoiceItem('dashboard', label=_('Dashboard'))
     look = ChoiceItem('look', label=_('Look'))
     space = ChoiceItem('space', label=_('Space'))
예제 #8
0
 class values(DjangoChoices):
     draft = ChoiceItem('draft', _('draft'))
     submitted = ChoiceItem('submitted', _('submitted'))
     needs_work = ChoiceItem('needs_work', _('needs work'))
     approved = ChoiceItem('approved', _('approved'))
     closed = ChoiceItem('closed', _('closed'))
예제 #9
0
class ClassStatus(DjangoChoices):
    Upcoming = ChoiceItem(0)
    Ongoing = ChoiceItem(1)
    Completed = ChoiceItem(2)
예제 #10
0
class OtpType(DjangoChoices):
    Class = ChoiceItem(0)
예제 #11
0
class GenderType(DjangoChoices):
    Male = ChoiceItem("M")
    Female = ChoiceItem("F")
    Other = ChoiceItem("O")
예제 #12
0
class RoleType(DjangoChoices):
    Doctor = ChoiceItem("D")
    Assistant = ChoiceItem("A")
    Nurse = ChoiceItem("N")
예제 #13
0
class PublishedStatus(DjangoChoices):
    published = ChoiceItem('published', label=_("Published"))
    draft = ChoiceItem('draft', label=_("Draft"))
예제 #14
0
class StatusType(DjangoChoices):
  Created = ChoiceItem("CR")
  InProgress = ChoiceItem("IP")
  Postpone = ChoiceItem("PO")
  Cancelled = ChoiceItem("CA")
예제 #15
0
 class Gender(DjangoChoices):
     male = ChoiceItem('male', label=_('Male'))
     female = ChoiceItem('female', label=_('Female'))
예제 #16
0
 class UserType(DjangoChoices):
     person = ChoiceItem('person', label=_('Person'))
     company = ChoiceItem('company', label=_('Company'))
     foundation = ChoiceItem('foundation', label=_('Foundation'))
     school = ChoiceItem('school', label=_('School'))
     group = ChoiceItem('group', label=_('Club / association'))
예제 #17
0
class ClassReservedStatus(DjangoChoices):
    Pending = ChoiceItem(0)
    Confirmed = ChoiceItem(1)
    Cancelled = ChoiceItem(2)
예제 #18
0
class DocumentChoice(DjangoChoices):
    Pdf: ChoiceItem("PDF")
예제 #19
0
파일: models.py 프로젝트: raux/bluebottle
 class AddressType(DjangoChoices):
     primary = ChoiceItem('primary', label=_("Primary"))
     secondary = ChoiceItem('secondary', label=_("Secondary"))
예제 #20
0
파일: models.py 프로젝트: raux/bluebottle
    class PayoutRules(DjangoChoices):
        """ Which rules to use to calculate fees. """
        beneath_threshold = ChoiceItem(
            'beneath_threshold', label=_("Beneath minimal payout amount"))
        fully_funded = ChoiceItem('fully_funded', label=_("Fully funded"))
        not_fully_funded = ChoiceItem('not_fully_funded',
                                      label=_("Not fully funded"))

        # Legacy payout rules
        old = ChoiceItem('old', label=_("Legacy: Old 1%/5%"))
        zero = ChoiceItem('zero', label=_("Legacy: 0%"))
        five = ChoiceItem('five', label=_("Legacy: 5%"))
        seven = ChoiceItem('seven', label=_("Legacy: 7%"))
        twelve = ChoiceItem('twelve', label=_("Legacy: 12%"))
        hundred = ChoiceItem('hundred', label=_("Legacy: 100%"))
        unknown = ChoiceItem('unknown', label=_("Legacy: Unknown"))
        other = ChoiceItem('other', label=_("Legacy: Other"))
예제 #21
0
 class TaskStatuses(DjangoChoices):
     open = ChoiceItem('open', label=_('Open'))
     full = ChoiceItem('full', label=_('Full'))
     in_progress = ChoiceItem('in progress', label=_('Running'))
     realized = ChoiceItem('realized', label=_('Realised'))
     closed = ChoiceItem('closed', label=_('Closed'))
예제 #22
0
파일: models.py 프로젝트: raux/bluebottle
 class Type(DjangoChoices):
     sourcing = ChoiceItem('sourcing', label=_('Crowd-sourcing'))
     funding = ChoiceItem('funding', label=_('Crowd-funding'))
     both = ChoiceItem('both', label=_('Crowd-funding & Crowd-sourcing'))
예제 #23
0
class VoucherStatuses(DjangoChoices):
    new = ChoiceItem('new', label=_("New"))
    paid = ChoiceItem('paid', label=_("Paid"))
    cancelled = ChoiceItem('cancelled', label=_("Cancelled"))
    cashed = ChoiceItem('cashed', label=_("Cashed"))
    cashed_by_proxy = ChoiceItem('cashed_by_proxy', label=_("Cashed by us"))