From c056515e76d640f8b0c40f5d42e768bedba00110 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Sun, 12 Dec 2010 10:48:37 -0700 Subject: be specific that sample_view is a function above --- docs/narr/templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3