summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-26 19:11:54 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-26 19:11:54 +0000
commitdf3564dace7838d517714c6af3ceeeb11266839e (patch)
tree22214306d35a44228f9cf150b43f888aebb4fa1f /docs
parent25d8441d724f64a99f43f29dddb104b879336eda (diff)
Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 03a212ed3c..c88c0e971a 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -391,7 +391,7 @@ how you'd represent that::
To create a recursive relationship -- an object that has a many-to-one
relationship with itself -- use ``meta.ForeignKey("self")``.
-The name of a ``ForeignKey`` (``pizza`` in the example above) generally should
+The name of a ``ForeignKey`` (``city`` in the example above) generally should
be the name of the model, singular. Behind the scenes, Django appends "_id" to
the field name to create its database column name. But your code should never
have to deal with the database column name, unless you write custom SQL.