Closed
Description
Description
upload_template respects template_dir only if jinja2 is used, otherwise it simply tries to open file in current dir:
with open(filename) as inputfile:
text = inputfile.read()
if context:
text = text % context
Originally submitted by Dmitry Guyvoronsky (dreamiurg) on 2011-03-26 at 06:44pm EDT