Sunday, January 29, 2012

Re: Displaying template location in html

Use the Django Debug Toolbar, it shows all kinds of things. For
templates, it shows the names of all the templates that make up the
given page as well as which tags are used on the page.

With DDT, you don't have to annotate (and un-annotate) anything.

On Jan 28, 10:26 pm, Alec Taylor <> wrote:
> With 40+ HTML files it's easy to get confused as to where each
> component comes from.
> I don't want to annotate each file with its relative path manually, as
> this will prove cumbersome when the site finally goes production.
> Is there a trick to displaying the template location on-screen?
> Thanks for all suggestions,
> Alec Taylor

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment