Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #2176 -- Fixed typo in docs/db-api.txt. Thanks,

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c256dcd04bb0edcab93b99cee62b29df1cd6b046 1 parent c8f1d0a
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/db-api.txt
2  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

0 comments on commit c256dcd

Please sign in to comment.
Something went wrong with that request. Please try again.