Fixed #5341 -- Clarified docs/db-api.txt docs about params in extra(). Thanks, Paul Smith

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-14 04:55:09 +00:00
parent e336722fd1
commit dc785104b8
1 changed files with 3 additions and 0 deletions

View File

@ -799,6 +799,9 @@ of the arguments is required, but you should use at least one of them.
Entry.objects.extra(where=['headline=%s'], params=['Lennon'])
The combined number of placeholders in the list of strings for ``select``
or ``where`` should equal the number of values in the ``params`` list.
QuerySet methods that do not return QuerySets
---------------------------------------------