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')
+ cover = models.ImageField(_('Cover'), upload_to = 'funding/covers')
def cover_img_tag(self):
return u'<img src="%s" />' % self.cover.url