Ticket #5819: 5819.diff
File 5819.diff, 775 bytes (added by , 17 years ago) |
---|
-
django/contrib/flatpages/models.py
4 4 from django.utils.translation import ugettext_lazy as _ 5 5 6 6 class FlatPage(models.Model): 7 url = models.CharField(_('URL'), max_length=100, validator_list=[validators.isAlphaNumericURL], db_index=True, 7 url = models.CharField(_('URL'), max_length=100, validator_list=[validators.isAlphaNumericURL], db_index=True, unique=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 10 content = models.TextField(_('content'))