diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-14 23:48:39 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-14 23:48:39 -0700 |
| commit | d1959613c6b865815dfb624944e2c2709f622bda (patch) | |
| tree | f387114f3eb5eb5887407fa5180023aaeeb81644 /docs | |
| parent | f94e8cfacc182f71b1c8ce8525bc4c0ee901dce2 (diff) | |
| download | pyramid-d1959613c6b865815dfb624944e2c2709f622bda.tar.gz pyramid-d1959613c6b865815dfb624944e2c2709f622bda.tar.bz2 pyramid-d1959613c6b865815dfb624944e2c2709f622bda.zip | |
shorten parenthetical for readability, add word model
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/models.rst | 12 |
1 files changed, 6 insertions, 6 deletions
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 |
