On Jan 23, 2008 4:08 AM, James Bennett <[EMAIL PROTECTED]> wrote: > > On Jan 21, 2008 8:30 PM, Papalagi Pakeha <[EMAIL PROTECTED]> wrote: > > i wonder if there is any way to have Macros in django templates > > similar to what Jinja has (http://jinja.pocoo.org/)? > > No. > > The Jinja project was started specifically to add additional > programming constructs that the Django template system does not and > likely will not implement.
what's the reasoning behind not having and not planning to have macros in django templates? they look like a very useful construct compliant with DRY to me. papa --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---