diff options
| author | Paul Everitt <paul@agendaless.com> | 2008-07-24 21:54:52 +0000 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2008-07-24 21:54:52 +0000 |
| commit | d4f9cdc1385b9c44aa5f3cff8f5feac191a89894 (patch) | |
| tree | 8932d65e045a1bce5d03e5b766969744a5334257 /docs | |
| parent | 1b8f7a7b6d61514ca99568d55d6ae6fed88f1726 (diff) | |
| download | pyramid-d4f9cdc1385b9c44aa5f3cff8f5feac191a89894.tar.gz pyramid-d4f9cdc1385b9c44aa5f3cff8f5feac191a89894.tar.bz2 pyramid-d4f9cdc1385b9c44aa5f3cff8f5feac191a89894.zip | |
More wordsmithing
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/templates.rst | 2 | ||||
| -rw-r--r-- | docs/narr/views.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 26cbb7910..beb5fd58b 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -15,7 +15,7 @@ different implementation of the ZPT specification: the `z3c.pt templating engine complies with the `Zope Page Template <http://wiki.zope.org/ZPT/FrontPage>`_ template specification. While ``z3c.pt`` doesn't implement the METAL specification (feature or -drawback, depending on your viewpoint,) it is significantly +drawback, depending on your viewpoint), it is significantly faster. And faster, of course, is the zen of :mod:`repoze.bfg`. Given a template named ``foo.html`` in a directory in your application diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 820f7215d..eff483c3c 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -1,10 +1,10 @@ Views ===== -A view is a callable which is called when a a request enters your +A view is a callable which is invoked when a request enters your application. :mod:`repoze.bfg's` primary job is to find and call a view when a request reaches it. The view's return value must -implement the Response object interface. +implement the WebOb Response object interface. Defining a View as a Function ----------------------------- |
