diff options
| author | Michael Merickel <michael@merickel.org> | 2011-04-19 01:32:28 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-04-20 05:05:40 -0500 |
| commit | a1d8c03490bcd7cb00372170c4e9c67ea9af5ce3 (patch) | |
| tree | f329cbeb0896978bc3e42cba543dece0e0e5c73e /docs/narr/viewconfig.rst | |
| parent | 99d2d26e9c817b6a7f59bfe0f367d76438287ec7 (diff) | |
| download | pyramid-a1d8c03490bcd7cb00372170c4e9c67ea9af5ce3.tar.gz pyramid-a1d8c03490bcd7cb00372170c4e9c67ea9af5ce3.tar.bz2 pyramid-a1d8c03490bcd7cb00372170c4e9c67ea9af5ce3.zip | |
Converting docs to deprecate view parameters in config.add_route.
Diffstat (limited to 'docs/narr/viewconfig.rst')
| -rw-r--r-- | docs/narr/viewconfig.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 9b2500a2b..7ee8e3fe5 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -59,7 +59,8 @@ View configuration is performed in one of these ways: - By specifying a view within a :term:`route configuration`. View configuration via a route configuration is performed by using the :meth:`pyramid.config.Configurator.add_route` method, passing a ``view`` - argument specifying a view callable. + argument specifying a view callable. This method is deprecated as of + :app:`Pyramid` 1.1. .. note:: A package named ``pyramid_handlers`` (available from PyPI) provides an analogue of :term:`Pylons` -style "controllers", which are a special |
