Django

Code

Show
Ignore:
Timestamp:
06/30/08 08:05:47 (3 months ago)
Author:
mtredinnick
Message:

Fixed #4081 -- Allow empty content in flatpages.
Patch from ctrochalakis and Matt Croydon.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/flatpages/models.py

    r7651 r7807  
    99        help_text=_("Example: '/about/contact/'. Make sure to have leading and trailing slashes.")) 
    1010    title = models.CharField(_('title'), max_length=200) 
    11     content = models.TextField(_('content')
     11    content = models.TextField(_('content'), blank=True
    1212    enable_comments = models.BooleanField(_('enable comments')) 
    1313    template_name = models.CharField(_('template name'), max_length=70, blank=True,