diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-09 02:30:23 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-09 02:30:23 -0500 |
| commit | d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c (patch) | |
| tree | 8efe722347f1159d78f1dfb79bcc4c1c4ca3d931 /docs/narr/project.rst | |
| parent | 8cbe4d7a5a41e49151f524b720fef210948a60d6 (diff) | |
| download | pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.tar.gz pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.tar.bz2 pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.zip | |
fix docs: pyramid.configuration -> pyramid.config
Diffstat (limited to 'docs/narr/project.rst')
| -rw-r--r-- | docs/narr/project.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index b2b0931b6..6cfd31c0b 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -743,7 +743,7 @@ also informs Python that the directory which contains it is a *package*. :linenos: #. Line 1 imports the :term:`Configurator` class from - :mod:`pyramid.configuration` that we use later. + :mod:`pyramid.config` that we use later. #. Line 2 imports the ``get_root`` function from :mod:`myproject.models` that we use later. @@ -904,7 +904,7 @@ made for you by any paster template, you can decide to lay your code out any way you see fit. For example, the configuration method named -:meth:`~pyramid.configuration.Configurator.add_view` requires you to pass a +:meth:`~pyramid.config.Configurator.add_view` requires you to pass a :term:`dotted Python name` or a direct object reference as the class or function to be used as a view. By default, the ``pyramid_starter`` paster template would have you add view functions to the ``views.py`` module in your |
