summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-02-26 02:16:14 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-02-26 02:16:14 +0200
commit8b96432b0c285ae5422ef32c8e97284b20e7f678 (patch)
tree741361d70d5134f48138f5c29c44342ce203ad68 /docs/narr/viewconfig.rst
parente84477b03f0f6c4577abd51fa51f69f1224fa99e (diff)
downloadpyramid-8b96432b0c285ae5422ef32c8e97284b20e7f678.tar.gz
pyramid-8b96432b0c285ae5422ef32c8e97284b20e7f678.tar.bz2
pyramid-8b96432b0c285ae5422ef32c8e97284b20e7f678.zip
improve paragraph
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index 7001cd980..126d7fd06 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -706,11 +706,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