summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-06-18 17:33:02 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-06-18 17:33:02 +0000
commitc256dcd04bb0edcab93b99cee62b29df1cd6b046 (patch)
tree88134262aad184021150763811f5c3894fa8fab4 /docs
parentc8f1d0a84e4f107bf4a9f470bfc183f972d507a9 (diff)
Fixed #2176 -- Fixed typo in docs/db-api.txt. Thanks, simon@lieschke.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/db-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 7427f36374..5108949184 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -731,7 +731,7 @@ The above example can be rewritten using ``get_or_create()`` like so::
defaults={'birthday': date(1940, 10, 9)})
Any keyword arguments passed to ``get_or_create()`` -- *except* an optional one
-called ``default`` -- will be used in a ``get()`` call. If an object is found,
+called ``defaults`` -- will be used in a ``get()`` call. If an object is found,
``get_or_create()`` returns a tuple of that object and ``False``. If an object
is *not* found, ``get_or_create()`` will instantiate and save a new object,
returning a tuple of the new object and ``True``. The new object will be