Changes between Initial Version and Version 1 of Ticket #25496, comment 2
- Timestamp:
- Oct 3, 2015, 12:10:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25496, comment 2
initial v1 1 1 Hello charettes, 2 2 3 Sorry, I used `.count()` in the example to try and simplify things a little. In actuality we are accessing a field on a related object in our `unicode`, in which case we definitely would want to use `prefetch_related` .3 Sorry, I used `.count()` in the example to try and simplify things a little. In actuality we are accessing a field on a related object in our `unicode`, in which case we definitely would want to use `prefetch_related` to avoid 1 query per `__unicode__`.