On Thu, 2009-02-26 at 13:00 -0800, Tim White wrote:
> Hi -
> 
>  Is there a way to get the name and path of the current template being
> rendered?

Not really. If settings.DEBUG is True, there is an "origin" attribute on
the template, but it may not contain a useful value (after all,
templates don't need to have a "name" or be stored at a location that
corresponds to a "path").

What is the problem you're trying to solve?

Regards,
Malcolm



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

Reply via email to