From 0ff1d4fa49832a60fe7f0dfb0ef6e6765c05c2fb Mon Sep 17 00:00:00 2001 From: orblivion Date: Sat, 1 Dec 2012 18:55:26 -0800 Subject: [PATCH] Typeo in ValuesQuerySet._as_sql docstring --- django/db/models/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/query.py b/django/db/models/query.py index 130be9ad96..f56d5d2842 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -1077,7 +1077,7 @@ class ValuesQuerySet(QuerySet): def _as_sql(self, connection): """ - For ValueQuerySet (and subclasses like ValuesListQuerySet), they can + For ValuesQuerySet (and subclasses like ValuesListQuerySet), they can only be used as nested queries if they're already set up to select only a single field (in which case, that is the field column that is returned). This differs from QuerySet.as_sql(), where the column to