summaryrefslogtreecommitdiff
path: root/docs/model-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-26 19:07:39 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-26 19:07:39 +0000
commit09b5266d641d3cdb63948c87f48fcacb702fbf43 (patch)
treedb91b22c138b249257070becfa3ccbaa8792b6a7 /docs/model-api.txt
parent879222786a6e04021a69afe557745d3c2a28bef2 (diff)
Fixed bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
-rw-r--r--docs/model-api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 37effb6c68..310d6a09bd 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -44,7 +44,7 @@ Example::
For ``ForeignKey``, ``ManyToManyField`` and ``OneToOneField``, use the
``verbose_name`` keyword argument::
- poll = meta.ForeignKey(Poll, "the related poll")
+ poll = meta.ForeignKey(Poll, verbose_name="the related poll")
sites = meta.ManyToManyField(Site, verbose_name="list of sites")
place = meta.OneToOneField(Place, verbose_name="related place")
@@ -962,7 +962,7 @@ the ``models`` directory.
If this sounds confusing, just use ``django-admin.py startapp`` -- it'll create
the proper directory structure and ``__init__.py`` files. (See the
-`django-admin.py documentation`_.)
+`django-admin.py documentation`_ .)
For example, if you save your models in a module called ``mymodels.py``, here's
a directory layout you might use::