On Jan 16, 3:41 am, stryderjzw <[EMAIL PROTECTED]> wrote:
> Thanks, everyone.
>
> I like this idea.  That really helped. I hope this gets considered.
>
> Cheers,
> Justin

Ok, as soon as I get a chance, I'll get some docs and tests done and
post a ticket with a patch.  That should greatly improve the chance of
it getting in.
<grin />

I also find it incredibly useful to reuse a block.  It comes up very
often, especially with the title tag in the header and then wanting
the title tag content again in a h? tag in the body.  Also comes up a
lot with lists of links that need presentation in the header and
footer of a page.  Much DRYer than cutting and pasting the info over
and over.

On that note, I was thinking that 'block_ref' might be a better name
than 'reuse_block'.  Also, I was wondering if it might not be a good
idea to have a block cache it's rendering on first render when a block
has references.  Wouldn't be that hard, would ensure that expensive
blocks were rendered once, and that the two renderings were identical
should any of the dynamic content change between renderings.

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