1. Michael Bayer
  2. mako
  3. Issues


Issue #2 resolved

add CompositeLookup; templates need a "loaded_by" attribute

Michael Bayer
repo owner created an issue

CompositeLookup will combine together one or more TemplateCollection items.

as Templates need to get a hold of the concrete TemplateLookup that loaded them, will need to add an additional attribute "loaded_by", which points to the actual lookup that loaded the template (and knows about its file location), in addition to the "lookup" attribute, which would point to the outermost lookup that is used to look up other templates (such as a CompositeLookup).

Comments (2)

  1. Log in to comment