Niklas Rosencrantz
Niklas Rosencrantz

Reputation: 26647

Can I debug django to display which template it is rendering?

I use django for a large project that is new for me and has many templates. Now I was asked to edit a template that I can display in the browser but I don't know where the template is. Is there a way to make django write out which template it is rendering (and possibly which python classes are used)? Similar to what happens at an error where there is lots of information about what is used.

Upvotes: 1

Views: 74

Answers (1)

Charlesthk
Charlesthk

Reputation: 9684

yes definitely, you can use django debug toolbar for this !

Upvotes: 1

Related Questions