summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-15 00:15:44 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-15 00:15:44 -0700
commit798a398c855bc480807cbaa96a4675dc2d9269f3 (patch)
treede0b3daa1e765958e6f1a5db6ddc499b31c7a1de /docs
parent408c5c8ccaf520d0711738d87a300e13ee600192 (diff)
downloadpyramid-798a398c855bc480807cbaa96a4675dc2d9269f3.tar.gz
pyramid-798a398c855bc480807cbaa96a4675dc2d9269f3.tar.bz2
pyramid-798a398c855bc480807cbaa96a4675dc2d9269f3.zip
add missing last sentence
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/models.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/narr/models.rst b/docs/narr/models.rst
index c726ae9b4..79286590a 100644
--- a/docs/narr/models.rst
+++ b/docs/narr/models.rst
@@ -266,6 +266,14 @@ subobjects should have a ``__name__`` attribute that matches the name by
which they are retrieved from the container via ``__getitem__``.
This pattern continues recursively down the graph.
+The ``__parent__`` attributes of each node form a linked list
+that points "upward" toward the root. This is analogous to the
+`..` entry in filesystem directories. If you follow the ``__parent__``
+values from any node in the traversal graph, you will eventually
+come to the root node, just like if you keep executing the
+``cd ..`` filesystem command, eventually you will reach the
+filesystem root directory.
+
.. warning:: If your root model object has a ``__name__`` argument
that is not ``None`` or the empty string, URLs returned by the
:func:`pyramid.url.model_url` function and paths generated by