> However, if you just want to know the top-level template that started
> the rendering process, you could obtain this by writing a custom
> render_to_template() shortcut that inserts the loaded template name
> into the context.

Thank you,

 I considered writing this custom render_to_template() shortcut, but
hoped maybe there was a simpler solution. I will be using this custom
shortcut quite extensively - i.e. I would like existing code which
currently calls render_to_response() to change over to my new shortcut
without updating every call. Is there a reasonably elegant way to
achieve this?

Joakim

-- 
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