diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/urldispatch.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 9a9769d23..5823abb04 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -25,7 +25,7 @@ If route configuration is present in an application, the :app:`Pyramid` matching patterns present in a *route map*. If any route pattern matches the information in the :term:`request` provided -to :app:`Pyramid`, app:`Pyramid` will shortcut :term:`traversal`, and will +to :app:`Pyramid`, :app:`Pyramid` will shortcut :term:`traversal`, and will invoke :term:`view lookup` using a :term:`context` resource generated by the route match. @@ -108,7 +108,6 @@ rather than an actual callable: # "config" below is presumed to be an instance of the # pyramid.config.Configurator class; "myview" is assumed # to be a "view callable" function - from myproject.views import myview config.add_route('myroute', '/prefix/{one}/{two}', view='myproject.views.myview') |
