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:18 -0400 |
| commit | 000415687323a7a7342eb2ec7e1bb1801613a652 (patch) | |
| tree | 6f98f1c81f3ec5b3e07d4d23e85702806252168c /docs/ref | |
| parent | 011541d948dac99100940e974f5cf243199be534 (diff) | |
[1.6.x] Added flat=False to signature of QuerySet.values_list()
Backport of 20f868bc5a from master
Diffstat (limited to 'docs/ref')
| -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 caebd8abe2..ce77e052a9 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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 |
