- state = models.CharField(_('state'), max_length=128, choices=[(s.slug, s.name) for s in states], help_text='?')
- subject = models.CharField(_('subject'), max_length=1024)
- body = models.TextField(_('body'))
- min_days_since = models.SmallIntegerField(_('min days since'), null=True, blank=True)
- max_days_since = models.SmallIntegerField(_('max days since'), null=True, blank=True)
- min_hour = models.PositiveSmallIntegerField(_('min hour'), null=True, blank=True)
- max_hour = models.PositiveSmallIntegerField(_('max hour'), null=True, blank=True)
- min_day_of_month = models.PositiveSmallIntegerField(_('min day of month'), null=True, blank=True)
- max_day_of_month = models.PositiveSmallIntegerField(_('max day of month'), null=True, blank=True)
- dow_1 = models.BooleanField(_('Monday'), default=True)
- dow_2 = models.BooleanField(_('Tuesday'), default=True)
- dow_3 = models.BooleanField(_('Wednesday'), default=True)
- dow_4 = models.BooleanField(_('Thursday'), default=True)
- dow_5 = models.BooleanField(_('Friday'), default=True)
- dow_6 = models.BooleanField(_('Saturday'), default=True)
- dow_7 = models.BooleanField(_('Sunday'), default=True)
- is_active = models.BooleanField(_('active'), default=False)
+ state = models.CharField('stan', max_length=128, choices=[(s.slug, s.name) for s in states], help_text='?')
+ subject = models.CharField('temat', max_length=1024)
+ body = models.TextField('treść')
+ min_days_since = models.SmallIntegerField('dni po, od', null=True, blank=True)
+ max_days_since = models.SmallIntegerField('dni po, do', null=True, blank=True)
+ min_hour = models.PositiveSmallIntegerField('od godziny', null=True, blank=True)
+ max_hour = models.PositiveSmallIntegerField('do godziny', null=True, blank=True)
+ min_day_of_month = models.PositiveSmallIntegerField('od dnia miesiąca', null=True, blank=True)
+ max_day_of_month = models.PositiveSmallIntegerField('do dnia miesiąca', null=True, blank=True)
+ dow_1 = models.BooleanField('poniedziałek', default=True)
+ dow_2 = models.BooleanField('wtorek', default=True)
+ dow_3 = models.BooleanField('środa', default=True)
+ dow_4 = models.BooleanField('czwartek', default=True)
+ dow_5 = models.BooleanField('piątek', default=True)
+ dow_6 = models.BooleanField('sobota', default=True)
+ dow_7 = models.BooleanField('niedziela', default=True)
+ is_active = models.BooleanField('aktywny', default=False)