Skip to content

Commit

Permalink
Merge pull request django#569 from orblivion/master
Browse files Browse the repository at this point in the history
Fixed typo in ValuesQuerySet._as_sql docstring
  • Loading branch information
ptone committed Dec 3, 2012
2 parents baae4b8 + 0ff1d4f commit 6d27547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/models/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d27547

Please sign in to comment.