Changes between Version 12 and Version 13 of UsingMarkup


Ignore:
Timestamp:
04/20/2007 08:25:15 PM (8 years ago)
Author:
Collin Grady <cgrady@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingMarkup

    v12 v13  
    1010class Entry(models.Model):
    1111    title = models.CharField('Title', maxlength=250)
    12     pub_date = models.DateTimeField('Date published', default=models.LazyDate())
     12    pub_date = models.DateTimeField('Date published', default=datetime.now)
    1313    body_markdown = models.TextField('Entry body', help_text='Use Markdown syntax.')
    1414    body = models.TextField('Entry body as HTML', blank=True, null=True)
Back to Top