Ticket #7663: flatpages.diff
File flatpages.diff, 651 bytes (added by , 16 years ago) |
---|
-
contrib/flatpages/models.py
5 5 6 6 7 7 class FlatPage(models.Model): 8 url = models.CharField(_('URL'), max_length=100, validator_list=[validators.isAlphaNumericURL],db_index=True,8 url = models.CharField(_('URL'), max_length=100, db_index=True, 9 9 help_text=_("Example: '/about/contact/'. Make sure to have leading and trailing slashes.")) 10 10 title = models.CharField(_('title'), max_length=200) 11 11 content = models.TextField(_('content'), blank=True)