summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorIrindu Indeera <nbiindeera@gmail.com>2017-07-11 23:45:17 +0530
committerTim Graham <timograham@gmail.com>2017-07-11 14:23:22 -0400
commitfe7b4568255ae1f77c180404631d81ba6b2d996d (patch)
tree11abd7fd2937e8cc832975f8fa94c4e734c44494 /docs/topics
parentb2ebc47a22412ca8091c341b0435abc5fcc5b76e (diff)
[1.11.x] Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
Backport of babe9e64a6172b09e7f70e8d8f01e67f2cb4176d and 2457c1866ef3586c56bd19aeaa554e78c1ed1875 from master
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/db/models.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
index ec725b77c2..6ee07f712a 100644
--- a/docs/topics/db/models.txt
+++ b/docs/topics/db/models.txt
@@ -229,7 +229,7 @@ ones:
>>> fruit.name = 'Pear'
>>> fruit.save()
>>> Fruit.objects.values_list('name', flat=True)
- ['Apple', 'Pear']
+ <QuerySet ['Apple', 'Pear']>
:attr:`~Field.unique`
If ``True``, this field must be unique throughout the table.