From fb6a5ce52a275f7798e82a34b5907ea118cbd2ff Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 18 Dec 2010 02:27:14 -0500 Subject: model -> resource; resource -> asset --- docs/narr/project.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/narr/project.rst') diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 2b03f7373..65ef3c526 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -258,8 +258,8 @@ The Interactive Shell Once you've installed your program for development using ``setup.py develop``, you can use an interactive Python shell to examine your -:app:`Pyramid` application :term:`model` and :term:`view` objects from -a Python prompt. To do so, use the ``paster`` shell command with the +:app:`Pyramid` application :term:`resource` and :term:`view` objects from a +Python prompt. To do so, use the ``paster`` shell command with the ``pshell`` argument: The first argument to ``pshell`` is the path to your application's ``.ini`` @@ -290,7 +290,7 @@ the name ``MyProject`` as a section name: Type "help" for more information. "root" is the Pyramid app root object, "registry" is the Pyramid registry object. >>> root - + >>> registry >>> registry.settings['debug_notfound'] @@ -868,7 +868,7 @@ named ``MyModel`` that provides the behavior. #. Line 6 is a "root factory" function that will be called by the :app:`Pyramid` *Router* for each request when it wants to find - the root of the object graph. Conventionally this is called + the root of the resource tree. Conventionally this is called ``get_root``. In a "real" application, the root object would not be such a simple -- cgit v1.2.3