The only way to achieve this would be to pass the template path, inside the
view, to the template and render it within the template.

Like:

    d = {'profile':profile:'template_path':"console/account-profile.html"}
    return render_to_response('console/account-profile.html', d)

-m

On 29 January 2012 17:26, Alec Taylor <alec.tayl...@gmail.com> 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 django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to