summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-04 19:00:20 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-04 19:00:20 +0000
commitf5b22bf4310d68ca18cf8c9052cb1c8fe09235f9 (patch)
treee16d3b51f22987111265092b301947ed02760eb5
parent502755878d5d4d197793880945823dade7b90674 (diff)
Fixed #271 -- Changed doc references to ManyToOneField. Thanks, brantley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/model-api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 283abbd924..dbbe3e2c01 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -462,12 +462,12 @@ Field Types
Argument Description
======================= ============================================================
``rel_name`` Use this if you have more than one
- ``ManyToOneField`` s in the same model that relate
+ ``ForeignKey`` in the same model that relate
to the same model. Django will use ``rel_name`` in
the generated API.
``related_name`` See the description of ``related_name`` in
- ``ManyToOneField``, above.
+ ``ForeignKey``, above.
``filter_interface`` Use a nifty unobtrusive Javascript "filter" interface
instead of the usability-challenged ``<select multiple>``
@@ -476,7 +476,7 @@ Field Types
should the interface be stacked horizontally or
vertically).
- ``limit_choices_to`` See the description under ``ManyToOneField`` above.
+ ``limit_choices_to`` See the description under ``ForeignKey`` above.
``name`` An alphanumeric name for the relationship. If this
isn't provided, Django uses the ``module_name`` of