Closed Altair2169 closed 5 months ago
Can you create a reproducible example for us?
So I'm not sure if we're at fault here or if there's something going on in Django itself, since we do not actually track template locations ourselves (or at least we haven't in the past), we're just showing information Django collects itself. Or is there any evidence that it's actually django-debug-toolbar doing something strange? If not I think we should close this.
Closing due to lack of response
I have a template hierarchy which goes like this
admin_base.html
admin_invoices.html
admin_pending_invoices.html
and I am profiling the view which renders
pending_invoices
template, the issue I am facing is that DDT is pointing to a line inadmin_base
as the source for the SQL query whereas it should point toadmin_invoices
as the source for the query.Not sure how to debug this but I have made sure that the
admin_base
template is not using that particular query anywhere at all.Possible dupe of #902
EDIT:
DDT:
4.2.0
Django:4.0.10