Moving over all lookup plugins to v2

This commit is contained in:
James Cammarata 2015-01-09 09:37:31 -06:00
parent 45f8e6f3b0
commit 1544dde932
54 changed files with 1650 additions and 37 deletions

View file

@ -162,3 +162,10 @@ class Block(Base, Conditional, Taggable):
return False
return super(Block, self).evaluate_tags(only_tags=only_tags, skip_tags=skip_tags)
def set_loader(self, loader):
self._loader = loader
if self._parent_block:
self._parent_block.set_loader(loader)
elif self._role:
self._role.set_loader(loader)