diff options
| author | Irindu Indeera <nbiindeera@gmail.com> | 2017-07-11 23:45:17 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-07-11 14:15:17 -0400 |
| commit | babe9e64a6172b09e7f70e8d8f01e67f2cb4176d (patch) | |
| tree | ced2a814190c746f21847d0cafc6286694eb6bbb /docs/topics | |
| parent | f816ceedf1ae13bec22363f6d78de53d3f60c3e9 (diff) | |
Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/db/models.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index e162c6df01..2c8a47852f 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. |
