Ticket #20408: django_docs_ref_models_queryset_2.diff

File django_docs_ref_models_queryset_2.diff, 677 bytes (added by alextreme, 11 years ago)
  • docs/ref/models/querysets.txt

    diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
    index ffada19..6cd7056 100644
    a b It is an error to pass in ``flat`` when there is more than one field.  
    544544If you don't pass any values to ``values_list()``, it will return all the
    545545fields in the model, in the order they were declared.
    546546
     547Note that this method returns a ``ValuesListQuerySet`` which is an object that
     548behaves like a list. Most of the time this is enough, but if you require an actual python
     549list object, you can simply call ``list()`` on it (which will evaluate the queryset).
     550
    547551dates
    548552~~~~~
    549553
Back to Top