Skip to content

Commit

Permalink
Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn…
Browse files Browse the repository at this point in the history
…'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
  • Loading branch information
adrianholovaty committed Aug 10, 2005
1 parent 77d20be commit bdcea2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions django/models/core.py
Expand Up @@ -75,6 +75,7 @@ def __repr__(self):


class FlatFile(meta.Model): class FlatFile(meta.Model):
db_table = 'flatfiles' db_table = 'flatfiles'
verbose_name = 'flat page'
fields = ( fields = (
meta.CharField('url', 'URL', maxlength=100, validator_list=[validators.isAlphaNumericURL], meta.CharField('url', 'URL', maxlength=100, validator_list=[validators.isAlphaNumericURL],
help_text="Example: '/about/contact/'. Make sure to have leading and trailing slashes."), help_text="Example: '/about/contact/'. Make sure to have leading and trailing slashes."),
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial02.txt
Expand Up @@ -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 :target: http://media.djangoproject.com/img/doc/tutorial/admin02.png


By default, you should see four types of editable content: groups, users, 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 .. _"I can't log in" questions: http://www.djangoproject.com/documentation/faq/#the-admin-site


Expand Down

0 comments on commit bdcea2e

Please sign in to comment.