diff options
| author | jnothman <jnothman@student.usyd.edu.au> | 2014-10-02 00:24:46 +1000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-01 13:06:30 -0400 |
| commit | 20f868bc5a7178849db9c671e684825ce2cf6107 (patch) | |
| tree | e07a17a238ead63555011d94062f74821e62fb40 /docs | |
| parent | fe2afcd318493c933ab1191a5a64271869a1227f (diff) | |
Added flat=False to signature of QuerySet.values_list()
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index c7d3bf6b90..57627016b8 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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 |
