mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
This commit is contained in:
committed by
Tim Graham
parent
f816ceedf1
commit
babe9e64a6
@@ -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