Permalink
Browse files

Refs #28352 -- Corrected another QuerySet.values_list() return type i…

…n docs example.
  • Loading branch information...
timgraham committed Jul 11, 2017
1 parent babe9e6 commit 2457c1866ef3586c56bd19aeaa554e78c1ed1875
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/models/querysets.txt
@@ -670,10 +670,10 @@ For example, notice the behavior when querying across a
:class:`~django.db.models.ManyToManyField`::
>>> Author.objects.values_list('name', 'entry__headline')
- [('Noam Chomsky', 'Impressions of Gaza'),
+ <QuerySet [('Noam Chomsky', 'Impressions of Gaza'),
('George Orwell', 'Why Socialists Do Not Believe in Fun'),
('George Orwell', 'In Defence of English Cooking'),
- ('Don Quixote', None)]
+ ('Don Quixote', None)]>
Authors with multiple entries appear multiple times and authors without any
entries have ``None`` for the entry headline.

0 comments on commit 2457c18

Please sign in to comment.