diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-18 18:07:12 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-18 18:07:12 +0000 |
| commit | c5f24b2957a2a7569d70930ac5bc630cc5aaac55 (patch) | |
| tree | b6c09425e10c2900bf2120dfe4d390e9070f960c /docs/narr/models.rst | |
| parent | e4ed8fdb6acc8a9b040c8f61221da0e79821e071 (diff) | |
| download | pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.tar.gz pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.tar.bz2 pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.zip | |
Prep for b1
Merge a bunch of paper-based docs fixes
Configure logging during bfgshell.
Diffstat (limited to 'docs/narr/models.rst')
| -rw-r--r-- | docs/narr/models.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/narr/models.rst b/docs/narr/models.rst index 32b9632e1..c85db63bf 100644 --- a/docs/narr/models.rst +++ b/docs/narr/models.rst @@ -49,7 +49,7 @@ mutating that data. different to avoid confusion. .. index:: - pair: model; constructor + single: model constructor Defining a Model Constructor ---------------------------- @@ -75,7 +75,7 @@ callable, and which returns a model instance. In the above example, the ``BlogEntry`` class can be "called", returning a model instance. .. index:: - pair: model; interfaces + single: model interfaces .. _models_which_implement_interfaces: @@ -297,7 +297,8 @@ and so on. slash or empty tuple element). .. index:: - pair: model; API functions + single: model API functions + single: url generation (traversal) :mod:`repoze.bfg` API Functions That Act Against Models ------------------------------------------------------- @@ -308,7 +309,7 @@ more information about how a model instance becomes the context. The APIs provided by :ref:`traversal_module` are used against model instances. These functions can be used to find the "path" of a model, -find the URL of a model, the root model in an object graph, and so on. +the root model in an object graph, or generate a URL to a model. The APIs provided by :ref:`location_module` are used against model instances. These can be used to walk down an object graph, or |
