Ticket #4081: blank-flatpages.diff
File blank-flatpages.diff, 899 bytes (added by , 17 years ago) |
---|
-
django/contrib/flatpages/models.py
7 7 url = models.CharField(_('URL'), max_length=100, validator_list=[validators.isAlphaNumericURL], db_index=True, 8 8 help_text=_("Example: '/about/contact/'. Make sure to have leading and trailing slashes.")) 9 9 title = models.CharField(_('title'), max_length=200) 10 content = models.TextField(_('content') )10 content = models.TextField(_('content'), blank=True) 11 11 enable_comments = models.BooleanField(_('enable comments')) 12 12 template_name = models.CharField(_('template name'), max_length=70, blank=True, 13 13 help_text=_("Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use 'flatpages/default.html'."))