diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-04 23:10:55 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-04 23:10:55 +0000 |
| commit | 6c67d224da50016153689219fa2f67060ba471e4 (patch) | |
| tree | 5bdde4b8afd4bd51fe3f44778633a847f6120f27 /docs/narr/templates.rst | |
| parent | 557c82a1f5b1253875b94a259511266355445c35 (diff) | |
| download | pyramid-6c67d224da50016153689219fa2f67060ba471e4.tar.gz pyramid-6c67d224da50016153689219fa2f67060ba471e4.tar.bz2 pyramid-6c67d224da50016153689219fa2f67060ba471e4.zip | |
Mako.
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
