Browse files

Fixed #5341 -- Clarified docs/db-api.txt docs about params in extra()…

…. Thanks, Paul Smith

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e336722 commit dc785104b8ffb33c57f5e17209743516c1bd88ae @adrianholovaty adrianholovaty committed Sep 14, 2007
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/db-api.txt
@@ -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

0 comments on commit dc78510

Please sign in to comment.