On Fri, Dec 9, 2011 at 3:16 PM, Alen Mujezinovic <flashingpump...@gmail.com> wrote: > Whoops. Editor ate the formatting. Here's the correctly formatted > version: https://gist.github.com/d7b50c7449dfd09725ea >
That version is much easier to read :) This ticket renders email contents from different blocks within a template: https://code.djangoproject.com/attachment/ticket/17193/send_templated_mail.3.diff Their code for finding and rendering a block looks pretty simple, and doesn't require changes to core to achieve it. Could it be applicable to your needs? Check out _render_block_node() Cheers Tom -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.