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:10:14 -0400 |
| commit | b21ec1ab6e92c1d35edca4a71e01f928ef0e1656 (patch) | |
| tree | 1d037a3748764df7a9c5bc3675101cd3b04dd641 | |
| parent | 74c38bad1d80ff94a973f4c4608011f45e80f2d9 (diff) | |
[1.7.x] Added flat=False to signature of QuerySet.values_list()
Backport of 20f868bc5a from master
| -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 b2dc0af33b..b49c00f552 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -573,7 +573,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 |
