Changes between Initial Version and Version 1 of Ticket #29340, comment 5


Ignore:
Timestamp:
Apr 20, 2018, 6:29:56 AM (7 years ago)
Author:
hematinik

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29340, comment 5

    initial v1  
    22> 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.
    33
    4 Sir I believe you didn't get my point. this two block of code should work just alike while they don't when certain condition meets:
     4Sir 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:
    55
    66{{{
Back to Top