From d1959613c6b865815dfb624944e2c2709f622bda Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Tue, 14 Dec 2010 23:48:39 -0700 Subject: shorten parenthetical for readability, add word model --- docs/narr/models.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/narr/models.rst b/docs/narr/models.rst index 905cad1ac..a2eac7084 100644 --- a/docs/narr/models.rst +++ b/docs/narr/models.rst @@ -234,12 +234,12 @@ of a view must ensure that the model instances that make up the model graph are "location aware". In order for :app:`Pyramid` location, security, URL-generation, and -traversal functions (such as the functions exposed in -:ref:`location_module`, :ref:`traversal_module`, and :ref:`url_module` -as well as certain functions in :ref:`security_module` ) to work -properly against the instances in an object graph, all nodes in the -graph must be :term:`location` -aware. This means they must have two -attributes: ``__parent__`` and ``__name__``. +traversal functions (i.e., functions in :ref:`location_module`, +:ref:`traversal_module`, :ref:`url_module` and some in +:ref:`security_module` ) to work properly against the model instances in +an object graph, all nodes in the graph must be :term:`location` -aware. +This means they must have two attributes: ``__parent__`` and +``__name__``. The ``__parent__`` attribute should be a reference to the node's parent model instance in the graph. The ``__name__`` attribute should -- cgit v1.2.3