[albatross-users] load_template vs run_template, macros vs lookups

Gregory Bond gnb at itga.com.au
Mon Dec 16 09:16:10 EST 2002


>Try this patch (untested):

Alas, doesn't seem to be quite right.....

  File "/usr/local/lib/python2.1/site-packages/albatross/template.py", line 150, in to_html
    item.to_html(ctx)
  File "/usr/local/lib/python2.1/site-packages/albatross/tags.py", line 992, in to_html
    lookup.lookup_html(ctx, value)
  File "/usr/local/lib/python2.1/site-packages/albatross/tags.py", line 1045, in lookup_html
    item = self.item_dict.get(value, self.content)
AttributeError: Lookup instance has no attribute 'item_dict'





More information about the Albatross-users mailing list