Project

General

Profile

« Previous | Next » 

Revision 7e1dec18

Added by Serghei Mihai almost 8 years ago

announce content is rich text field

View differences:

corbo/models.py
18 18
    category  = models.ForeignKey('Category', verbose_name=_('category'))
19 19
    title = models.CharField(_('title'), max_length=256,
20 20
                             help_text=_('maximum 256 characters'))
21
    text = models.TextField(_('Content'))
21
    text = RichTextField(_('Content'))
22 22
    publication_time = models.DateTimeField(_('publication time'), blank=True,
23 23
                                            null=True)
24 24
    expiration_time = models.DateTimeField(_('Expires on'), blank=True,

Also available in: Unified diff