Browse files

Typeo in ValuesQuerySet._as_sql docstring

  • Loading branch information...
1 parent 90d3af3 commit 0ff1d4fa49832a60fe7f0dfb0ef6e6765c05c2fb @orblivion orblivion committed Dec 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/models/
@@ -1077,7 +1077,7 @@ def _setup_aggregate_query(self, aggregates):
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

0 comments on commit 0ff1d4f

Please sign in to comment.