mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
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
This commit is contained in:
parent
5061970b76
commit
324befc477
@ -1011,7 +1011,7 @@ of the arguments is required, but you should use at least one of them.
|
|||||||
This will work, for example::
|
This will work, for example::
|
||||||
|
|
||||||
Blog.objects.extra(
|
Blog.objects.extra(
|
||||||
select=SortedDict(('a', '%s'), ('b', '%s')),
|
select=SortedDict([('a', '%s'), ('b', '%s')]),
|
||||||
select_params=('one', 'two'))
|
select_params=('one', 'two'))
|
||||||
|
|
||||||
The only thing to be careful about when using select parameters in
|
The only thing to be careful about when using select parameters in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user