From dc785104b8ffb33c57f5e17209743516c1bd88ae Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 14 Sep 2007 04:55:09 +0000 Subject: [PATCH] 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 --- docs/db-api.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/db-api.txt b/docs/db-api.txt index 66faf4a793..038cdc8613 100644 --- a/docs/db-api.txt +++ b/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 ---------------------------------------------