Commit 20f868bc authored by jnothman's avatar jnothman Committed by Tim Graham
Browse files

Added flat=False to signature of QuerySet.values_list()

parent fe2afcd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -580,7 +580,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