From 52099c84604df13d65b4f5ec194b8e4a256baf07 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Sat, 27 Nov 2010 22:25:57 -0700 Subject: reword paragraph about view callable return values --- docs/narr/views.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 16ba0a229..629b5f507 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -47,10 +47,10 @@ represents a :app:`Pyramid` :term:`Request` object. A request object encapsulates a WSGI environment as represented to :app:`Pyramid` by the upstream :term:`WSGI` server. -A view callable may always return a :mod:`Pyramid` :term:`Response` object -directly. It may optionally return another arbitrary non-Response value: if a -view callable returns a non-Response result, the result must be converted into -a response by the :term:`renderer` associated with the :term:`view +A view callable can return a :mod:`Pyramid` :term:`Response` object +directly. It may return another arbitrary non-Response value, +however, this return value must be converted into a :term:`Response` +object by the :term:`renderer` associated with the :term:`view configuration` for the view. View callables can be functions, instances, or classes. View -- cgit v1.2.3