mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.11.x] Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
Backport ofbabe9e64a6and2457c1866efrom master
This commit is contained in:
committed by
Tim Graham
parent
b2ebc47a22
commit
fe7b456825
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user