summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-10-29 13:35:31 -0400
committerChris McDonough <chrism@plope.com>2010-10-29 13:35:31 -0400
commit5c15105e1bfa818e9dc1c19fa1bf699a830f62ef (patch)
treeb48dc79e2964f90bd1963a1fe0dce4ade44c02c4 /docs/tutorials
parent197f0cb39d0a865476405dda21ad0d3e20ee0789 (diff)
downloadpyramid-5c15105e1bfa818e9dc1c19fa1bf699a830f62ef.tar.gz
pyramid-5c15105e1bfa818e9dc1c19fa1bf699a830f62ef.tar.bz2
pyramid-5c15105e1bfa818e9dc1c19fa1bf699a830f62ef.zip
repoze.bfg -> pyramid
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/catalog/index.rst10
-rw-r--r--docs/tutorials/modwsgi/index.rst2
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/tutorials/catalog/index.rst b/docs/tutorials/catalog/index.rst
index 9a5bbfb2f..424286bd9 100644
--- a/docs/tutorials/catalog/index.rst
+++ b/docs/tutorials/catalog/index.rst
@@ -1,7 +1,7 @@
.. _catalog_tutorial:
-Using :mod:`repoze.catalog` Within :mod:`repoze.bfg`
-====================================================
+Using :mod:`repoze.catalog` Within :mod:`pyramid`
+=================================================
:mod:`repoze.catalog` is a ZODB-based system that can be used to index
Python objects. It also offers a query interface for retrieving
@@ -83,12 +83,12 @@ want the application to be based on :term:`traversal`.
.. code-block:: text
- [chrism@snowpro sess]$ ../bin/paster --plugin=repoze.bfg bfgshell \
+ [chrism@snowpro sess]$ ../bin/paster --plugin=pyramid bfgshell \
myapp.ini myapp
Python 2.5.4 (r254:67916, Sep 4 2009, 02:12:16)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help" for more information. "root" is the BFG app root object.
- >>> from repoze.bfg.traversal import model_path
+ >>> from pyramid.traversal import model_path
>>> from myapp.models import Document
>>> root['name'] = Document('title')
>>> doc = root['name']
@@ -107,7 +107,7 @@ or from within a ``bfgshell`` session to update the set of indexes
used by your application.
In :term:`view` code, you should be able to get a hold of the root
-object via the :func:`repoze.bfg.traversal.find_root` API. The
+object via the :func:`pyramid.traversal.find_root` API. The
``catalog`` attribute of that root object will represent the catalog
previously added.
diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst
index 5572e300b..8b429a0c8 100644
--- a/docs/tutorials/modwsgi/index.rst
+++ b/docs/tutorials/modwsgi/index.rst
@@ -54,7 +54,7 @@ commands and files.
.. code-block:: text
$ cd ~/modwsgi/env
- $ bin/easy_install repoze.bfg
+ $ bin/easy_install pyramid
#. Create and install your :mod:`pyramid` application. For the
purposes of this tutorial, we'll just be using the ``bfg_starter``