Skip to content

Commit

Permalink
be specific that sample_view is a function above
Browse files Browse the repository at this point in the history
  • Loading branch information
caseman committed Dec 12, 2010
1 parent b72f93a commit c056515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/narr/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c056515

Please sign in to comment.