From 6c67d224da50016153689219fa2f67060ba471e4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 4 Jan 2010 23:10:55 +0000 Subject: Mako. --- docs/narr/templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index ec5812bd2..f6f4098e0 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -384,7 +384,7 @@ using Mako from within a :mod:`repoze.bfg` :term:`view`: from mako.template import Template from webob import Response - def make_view(request): + def mako_view(request): template = Template(filename='/templates/template.mak') result = template.render(name=request.params['name']) response = Response(result) -- cgit v1.2.3