Browse files

Merge pull request #569 from orblivion/master

Fixed typo in ValuesQuerySet._as_sql docstring
  • Loading branch information...
2 parents baae4b8 + 0ff1d4f commit 6d27547d202586c5f85909de84a012bc177f7a30 @ptone ptone committed Dec 3, 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 6d27547

Please sign in to comment.