[1.6.x] Added flat=False to signature of QuerySet.values_list()
Backport of 20f868bc5a from master
This commit is contained in:
parent
011541d948
commit
0004156873
@ -539,7 +539,7 @@ You can also refer to fields on related models with reverse relations through
|
||||
values_list
|
||||
~~~~~~~~~~~
|
||||
|
||||
.. method:: values_list(*fields)
|
||||
.. method:: values_list(*fields, flat=False)
|
||||
|
||||
This is similar to ``values()`` except that instead of returning dictionaries,
|
||||
it returns tuples when iterated over. Each tuple contains the value from the
|
||||
|
Loading…
x
Reference in New Issue
Block a user