GoogleCloudPlatform / webapp2

webapp2 is a framework for Google App Engine
https://webapp2.readthedocs.org
Other
141 stars 63 forks source link

0.7 doesn't work with templatetags #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
I'd like to close this issue unless a full test case is provided.

Original comment by rodrigo.moraes on 9 May 2011 at 1:50

GoogleCodeExporter commented 8 years ago

Original comment by rodrigo.moraes on 17 May 2011 at 10:19