mirror of https://github.com/django/django.git
Fixed #2317 -- Fixed help_text for FlatPage.template_name field to match magic-removal template names. Thanks, md@hudora.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c431ade5f5
commit
9a588aa4b4
|
@ -10,7 +10,7 @@ class FlatPage(models.Model):
|
||||||
content = models.TextField(_('content'))
|
content = models.TextField(_('content'))
|
||||||
enable_comments = models.BooleanField(_('enable comments'))
|
enable_comments = models.BooleanField(_('enable comments'))
|
||||||
template_name = models.CharField(_('template name'), maxlength=70, blank=True,
|
template_name = models.CharField(_('template name'), maxlength=70, blank=True,
|
||||||
help_text=_("Example: 'flatpages/contact_page'. If this isn't provided, the system will use 'flatpages/default'."))
|
help_text=_("Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use 'flatpages/default.html'."))
|
||||||
registration_required = models.BooleanField(_('registration required'), help_text=_("If this is checked, only logged-in users will be able to view the page."))
|
registration_required = models.BooleanField(_('registration required'), help_text=_("If this is checked, only logged-in users will be able to view the page."))
|
||||||
sites = models.ManyToManyField(Site)
|
sites = models.ManyToManyField(Site)
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue