Reputation: 9333
How can I know which template is in use for a specific URL when debugging? For example, what is the template that was used when visiting /login
?
Upvotes: 0
Views: 74
Reputation: 31434
The easiest way is to probably install the Django Debug Toolbar and enable the template panel, which will tell you what templates are used and the available context.
There is also a template timings panel which lets you assess rendering times for your templates.
Upvotes: 1