Skip to content

Commit

Permalink
Better templates support for the parts
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jan 2, 2019
1 parent e088db7 commit 061d537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appier/part.py
Expand Up @@ -99,7 +99,7 @@ def models(self):

def template(self, *args, **kwargs):
kwargs["cache"] = False
kwargs["templates_path"] = self.templates_path
kwargs["templates_path"] = (self.templates_path, self.owner.templates_path)
return self.owner.template(*args, **kwargs)

def is_loaded(self):
Expand Down

0 comments on commit 061d537

Please sign in to comment.