diff options
| author | Tim Graham <timograham@gmail.com> | 2017-07-11 14:22:46 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-07-11 14:22:46 -0400 |
| commit | 2457c1866ef3586c56bd19aeaa554e78c1ed1875 (patch) | |
| tree | ced168c1f1acf4094cfbcb830aad6e723a7cd5f9 /docs | |
| parent | babe9e64a6172b09e7f70e8d8f01e67f2cb4176d (diff) | |
Refs #28352 -- Corrected another QuerySet.values_list() return type in docs example.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 64e48c3ff5..8cdf32b247 100644 --- a/docs/ref/models/querysets.txt +++ b/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. |
