This works with webapp but not with webapp-improved 0.5 and 0.6:
template.register_template_library(os.path.join(os.path.dirname(__file__),
"templatetags", 'templatefilters.py'))
so I moved the templatefilters.py up and used this with 0.5 and 0.6:
template.register_template_library('templatefilters')
but webapp-improved 0.7 doesn't work with that. Meaning that my templates fail
with TemplateSyntaxError: <unprintable TemplateSyntaxError object>
Thanks!
Original issue reported on code.google.com by JDeibele on 18 Oct 2010 at 9:23
Original issue reported on code.google.com by
JDeibele
on 18 Oct 2010 at 9:23