From babe9e64a6172b09e7f70e8d8f01e67f2cb4176d Mon Sep 17 00:00:00 2001 From: Irindu Indeera Date: Tue, 11 Jul 2017 23:45:17 +0530 Subject: Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples. --- docs/topics/db/models.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/topics') 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'] + :attr:`~Field.unique` If ``True``, this field must be unique throughout the table. -- cgit v1.3