- author = models.CharField(_('author'), max_length=255)
- title = models.CharField(_('title'), max_length=255)
- slug = models.SlugField(_('slug'))
- description = models.TextField(_('description'), blank=True)
- target = models.DecimalField(_('target'), decimal_places=2, max_digits=10)
- start = models.DateField(_('start'), db_index=True)
- end = models.DateField(_('end'), db_index=True)
- redakcja_url = models.URLField(_('redakcja URL'), blank=True)
- book = models.ForeignKey(Book, null=True, blank=True,
- help_text=_('Published book.'))
- cover = models.ImageField(_('Cover'), upload_to='funding/covers')
- poll = models.ForeignKey(Poll, help_text=_('Poll'), null=True, blank=True, on_delete=models.SET_NULL)
-
- notified_near = models.DateTimeField(_('Near-end notifications sent'), blank=True, null=True)
- notified_end = models.DateTimeField(_('End notifications sent'), blank=True, null=True)
+ author = models.CharField('autor', max_length=255)
+ title = models.CharField('tytuł', max_length=255)
+ slug = models.SlugField('slug')
+ description = models.TextField('opis', blank=True)
+ target = models.DecimalField('kwota docelowa', decimal_places=2, max_digits=10)
+ start = models.DateField('początek', db_index=True)
+ end = models.DateField('koniec', db_index=True)
+ redakcja_url = models.URLField('URL na Redakcji', blank=True)
+ book = models.ForeignKey(Book, models.PROTECT, null=True, blank=True, help_text='Opublikowana książka.')
+ cover = models.ImageField('Okładka', upload_to='funding/covers')
+ poll = models.ForeignKey(Poll, help_text='Ankieta', null=True, blank=True, on_delete=models.SET_NULL)
+
+ notified_near = models.DateTimeField('Wysłano powiadomienia przed końcem', blank=True, null=True)
+ notified_end = models.DateTimeField('Wysłano powiadomienia o zakończeniu', blank=True, null=True)