mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
This commit is contained in:
parent
f816ceedf1
commit
babe9e64a6
3 changed files with 10 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue