diff options
| author | Michael Merickel <michael@merickel.org> | 2013-03-12 20:36:14 -0700 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-03-12 20:36:14 -0700 |
| commit | f343c5383a6ae5b5f0f8ad0048eb046c0e96104a (patch) | |
| tree | 2b587cff2bfff283fed99d10ebb11273a1d41a35 /docs | |
| parent | ce39533bd74ed203650f70a63ca93c47df3ea9b7 (diff) | |
| parent | 8b96432b0c285ae5422ef32c8e97284b20e7f678 (diff) | |
| download | pyramid-f343c5383a6ae5b5f0f8ad0048eb046c0e96104a.tar.gz pyramid-f343c5383a6ae5b5f0f8ad0048eb046c0e96104a.tar.bz2 pyramid-f343c5383a6ae5b5f0f8ad0048eb046c0e96104a.zip | |
Merge pull request #874 from tshepang/paragraph
improve paragraph
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/viewconfig.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 1a7a37f99..d3221db3c 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -686,11 +686,10 @@ this method are very similar to the arguments that you provide to the # pyramid.config.Configurator class config.add_view(hello_world, route_name='hello') -The first argument, ``view``, is required. It must either be a Python object -which is the view itself or a :term:`dotted Python name` to such an object. -In the above example, ``view`` is the ``hello_world`` function. All other -arguments are optional. See :meth:`pyramid.config.Configurator.add_view` for -more information. +The first argument, a :term:`view callable`, is the only required argument. +It must either be a Python object which is the view itself or a +:term:`dotted Python name` to such an object. +In the above example, the ``view callable`` is the ``hello_world`` function. When you use only :meth:`~pyramid.config.Configurator.add_view` to add view configurations, you don't need to issue a :term:`scan` in order for the view |
