Changes between Initial Version and Version 1 of Ticket #25754, comment 3
- Timestamp:
- Nov 14, 2015, 10:22:34 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25754, comment 3
initial v1 2 2 3 3 I appreciate the quick response, but I'm afraid you didn't read the entire report. The queryset, in the context I've given, should have been evaluated. See the first line of code in the first example. 4 5 Take for instance, the example from https://docs.djangoproject.com/en/1.8/topics/db/optimization/#understand-cached-attributes: 6 7 {{{ 8 >>> entry = Entry.objects.get(id=1) 9 >>> entry.authors.all() # query performed 10 >>> entry.authors.all() # query performed again 11 }}} 12 13 Placing a queryset directly into the REPL should result in evaluation.