diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-12 10:48:37 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-12 10:48:37 -0700 |
| commit | c056515e76d640f8b0c40f5d42e768bedba00110 (patch) | |
| tree | a40a923dbfe3e350bf8ee0a270cc47fd33d9641b /docs/narr/templates.rst | |
| parent | b72f93accef845ccc6f2fe6f19548b5f4893c606 (diff) | |
| download | pyramid-c056515e76d640f8b0c40f5d42e768bedba00110.tar.gz pyramid-c056515e76d640f8b0c40f5d42e768bedba00110.tar.bz2 pyramid-c056515e76d640f8b0c40f5d42e768bedba00110.zip | |
be specific that sample_view is a function above
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 753b8ddf6..534614591 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -58,7 +58,7 @@ within the body of a view callable like so: rendering tasks. This set of functions works to render templates for all renderer extensions registered with :app:`Pyramid`. -The ``sample_view`` :term:`view callable` above returns a +The ``sample_view`` :term:`view callable` function above returns a :term:`response` object which contains the body of the ``templates/foo.pt`` template. In this case, the ``templates`` directory should live in the same directory as the module containing |
