I noticed that this ticket has just been closed. Just wanted to say
Thanks to the Django dev team for finally accepting our patch!
http://code.djangoproject.com/ticket/1650
Cheers,
Bryan :)
Bryan Chow wrote:
> Just wanted to bring attention back to this issue. A few months ago,
> Ian Clelland
Just wanted to bring attention back to this issue. A few months ago,
Ian Clelland and I submitted a ticket to allow templates to be extended
programatically, i.e. not necessarily on the filesystem. I love the
Django templating system but it seems strange that this capability is
not already in Djan
On 4/16/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> Sure, I'd say that's worth submitting as an enhancement ticket. I can
> definitely see use for that!
Done -- it's at http://code.djangoproject.com/ticket/1650
(It's a bit more than two lines, but only because I threw in a couple
of unit
On 4/16/06, Ian Clelland <[EMAIL PROTECTED]> wrote:
> Now I can do things like this:
>
> from django.template import Context, Template, loader
> a = Template("{% extends templateone %}{% block one %}Hello {{ name
> }}{% endblock %}")
> b = Template("{% block one %}Stuff{% endblock %}")
> a.render(
I've been looking into the django template system, and how to use it
in situations other than html rendering (e.g, building up email
messages from templates in the database)
It would be very useful in these sorts of situations to be able to
extend from a template that does not exist inside of a t