summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2008-08-23 05:04:59 +0000
committerJames Bennett <ubernostrum@gmail.com>2008-08-23 05:04:59 +0000
commit324befc477757961d28c89013151d51bf413f0db (patch)
tree78ca7435a85acfbecc52504c14f4010d65d6b8a7 /docs
parent5061970b76194d6a170d80ffab18260f138951c4 (diff)
Fixed #8388: Corrected documentation for SortedDict use in extra()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8478 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 77a29cc8a5..75f9cff198 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -1011,7 +1011,7 @@ of the arguments is required, but you should use at least one of them.
This will work, for example::
Blog.objects.extra(
- select=SortedDict(('a', '%s'), ('b', '%s')),
+ select=SortedDict([('a', '%s'), ('b', '%s')]),
select_params=('one', 'two'))
The only thing to be careful about when using select parameters in