Re: Flatten template?

2011-01-12 Thread Peter
Please add to djangosnippets I'm somewhat interested in what you have done. -- 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

Re: Flatten template?

2011-01-11 Thread Danny Adair
Just in case someone needs this... I now have a working module. It "resolves" via the source files - no context, no "real rendering". Therefore only literal string parameters are supported for the template paths of {% extends ... %} and {% include ... %}. That's ok for my current purposes. Otherwi

Flatten template?

2011-01-10 Thread Danny W. Adair
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 s