Changes between Initial Version and Version 1 of Ticket #22268, comment 24
- Timestamp:
- Mar 23, 2014, 9:55:58 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22268, comment 24
initial v1 6 6 7 7 So `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 9 In 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.