Changes between Initial Version and Version 1 of Ticket #22268, comment 24


Ignore:
Timestamp:
Mar 23, 2014, 9:55:58 PM (10 years ago)
Author:
Kal Sze

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22268, comment 24

    initial v1  
    66
    77So `values()` and `values_list` return these subclassed dicts and tuples, which lazily construct and return the relevant M2M or reverse foreign key elements when they are accessed.
     8
     9In the end, the subclassed `dict` and `tuple` would work somewhat like the Django model, except that you access things in the form of dictionaries and tuples, and you limit the elements that can appear in them.
Back to Top