summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/basiclayout.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
-rw-r--r--docs/tutorials/wiki2/basiclayout.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst
index 01fdd351e..3e17f76e3 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -47,7 +47,7 @@ entry point happens to be the ``app`` function within the file named
``db_string``, etc.
#. *Line 12*. We call
- :meth:`pyramid.configuration.Configurator.add_static_view` with the
+ :meth:`pyramid.config.Configurator.add_static_view` with the
arguments ``static`` (the name), and ``tutorial:static`` (the path). This
registers a static resource view which will match any URL that starts with
``/static/``. This will serve up static resources for us from within the
@@ -59,13 +59,13 @@ entry point happens to be the ``app`` function within the file named
such as a CSS file.
#. *Lines 13-14*. Register a :term:`route configuration` via the
- :meth:`pyramid.configuration.Configurator.add_route` method that will be
+ :meth:`pyramid.config.Configurator.add_route` method that will be
used when the URL is ``/``. Since this route has an ``pattern`` equalling
``/`` it is the "default" route. The argument named ``view`` with the
value ``tutorial.views.my_view`` is the dotted name to a *function* we
write (generated by the ``pyramid_routesalchemy`` template) that is given
a ``request`` object and which returns a response or a dictionary. You
- will use :meth:`pyramid.configuration.Configurator.add_route` statements
+ will use :meth:`pyramid.config.Configurator.add_route` statements
in a :term:`URL dispatch` based application to map URLs to code. This
route also names a ``view_renderer``, which is a template which lives in
the ``templates`` subdirectory of the package. When the
@@ -73,7 +73,7 @@ entry point happens to be the ``app`` function within the file named
will use this template to create a response.
#. *Line 15*. We use the
- :meth:`pyramid.configuration.Configurator.make_wsgi_app` method to return
+ :meth:`pyramid.config.Configurator.make_wsgi_app` method to return
a :term:`WSGI` application.
Content Models with ``models.py``