--- a/thirdparty/google_appengine/google/appengine/ext/webapp/template.py Sat Dec 06 14:50:45 2008 +0000
+++ b/thirdparty/google_appengine/google/appengine/ext/webapp/template.py Sat Dec 06 16:52:21 2008 +0000
@@ -176,12 +176,12 @@
return value.replace(arg, '')
register.filter(cut)
- Then, register the custom template module with the register_template_module
+ Then, register the custom template module with the register_template_library
function below in your application module:
myapp.py
========
- webapp.template.register_template_module('templatefilters')
+ webapp.template.register_template_library('templatefilters')
"""
return django.template.Library()