From bdcea2e6ca383fc6364be63bbf8359ddcd0145a3 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 10 Aug 2005 21:46:40 +0000 Subject: [PATCH] Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn't rename it in the Python code, because too many things would break. git-svn-id: http://code.djangoproject.com/svn/django/trunk@477 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/models/core.py | 1 + docs/tutorial02.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/django/models/core.py b/django/models/core.py index 82168c23a9..985dc38179 100644 --- a/django/models/core.py +++ b/django/models/core.py @@ -75,6 +75,7 @@ class Redirect(meta.Model): class FlatFile(meta.Model): db_table = 'flatfiles' + verbose_name = 'flat page' fields = ( meta.CharField('url', 'URL', maxlength=100, validator_list=[validators.isAlphaNumericURL], help_text="Example: '/about/contact/'. Make sure to have leading and trailing slashes."), diff --git a/docs/tutorial02.txt b/docs/tutorial02.txt index d084e2b748..5ef9fe1af1 100644 --- a/docs/tutorial02.txt +++ b/docs/tutorial02.txt @@ -75,7 +75,7 @@ If it worked, you should see the Django admin index page: :target: http://media.djangoproject.com/img/doc/tutorial/admin02.png By default, you should see four types of editable content: groups, users, -redirects and flat files. These are core features Django ships with by default. +redirects and flat pages. These are core features Django ships with by default. .. _"I can't log in" questions: http://www.djangoproject.com/documentation/faq/#the-admin-site