diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-11-27 22:25:57 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-11-27 22:25:57 -0700 |
| commit | 52099c84604df13d65b4f5ec194b8e4a256baf07 (patch) | |
| tree | dd711673ba620bd2317a5e1668727a931a33ef5d /docs/narr | |
| parent | 4f66a7c6952cdcfc21e6477704c1a761714e8654 (diff) | |
| download | pyramid-52099c84604df13d65b4f5ec194b8e4a256baf07.tar.gz pyramid-52099c84604df13d65b4f5ec194b8e4a256baf07.tar.bz2 pyramid-52099c84604df13d65b4f5ec194b8e4a256baf07.zip | |
reword paragraph about view callable return values
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/views.rst | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
