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
This commit is contained in:
parent
77d20bedd4
commit
bdcea2e6ca
|
@ -75,6 +75,7 @@ class Redirect(meta.Model):
|
||||||
|
|
||||||
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."),
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue