Changes between Initial Version and Version 1 of Ticket #29340, comment 5
- Timestamp:
- Apr 20, 2018, 6:29:56 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29340, comment 5
initial v1 2 2 > The extra queries are caused by accessing `event.location` which isn't cached. You could cache that as well using `Event.objects.select_related('location')`. Next time, please use [wiki:TicketClosingReasons/UseSupportChannels our support channels] if you need help confirming whether or not Django is at fault. 3 3 4 Sir I believe you didn't get my point. th is two block of code should work just alike while they don't when certain condition meets:4 Sir I believe you didn't get my point. these two block of code should work just alike while they don't when certain conditions meet: 5 5 6 6 {{{