summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/basiclayout.rst
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-12 09:40:19 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-12 09:40:19 -0700
commit226c469217cbddc3443da2a60dc414b82021bcbe (patch)
treec049b1c25b4b70a43f2b99f8515fd3d628cbffd2 /docs/tutorials/wiki2/basiclayout.rst
parent87a6ffdb91ae9f983169c3e9da15ea0266745a74 (diff)
parentfee38663daccc0130d0c34dbc5a14e67bef2e183 (diff)
downloadpyramid-226c469217cbddc3443da2a60dc414b82021bcbe.tar.gz
pyramid-226c469217cbddc3443da2a60dc414b82021bcbe.tar.bz2
pyramid-226c469217cbddc3443da2a60dc414b82021bcbe.zip
fix merge conflicts
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 a9f7b2282..565bd0e96 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -47,7 +47,7 @@ function:
``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 @@ function:
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 @@ function:
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``