Hi,
I need to get the template source of a template "after inheritance",
i.e. render just the loader tags "include", "extends" and
"block" (incl. variable block.super), so that I end up with one
independent template which is otherwise unrendered.

Has anyone done this before or has pointers?

I'm still undecided whether to work with Node objects (maybe borrowing
some ideas from http://djangosnippets.org/snippets/769/ ) or just use
regex on the source and manually "glue together".

Any help greatly appreciated.

Cheers,
Danny

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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