From cc3f2612d834a7404de288c20a3faddfded2e705 Mon Sep 17 00:00:00 2001 From: Carlos de la Guardia Date: Sat, 20 Mar 2010 16:08:59 +0000 Subject: just two small fixes here --- docs/narr/models.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/narr/models.rst b/docs/narr/models.rst index 2964ccb20..c6f896119 100644 --- a/docs/narr/models.rst +++ b/docs/narr/models.rst @@ -259,7 +259,7 @@ In order for :mod:`repoze.bfg` 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 a instances in an object graph, all nodes in the +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__``. @@ -280,7 +280,7 @@ The ``__parent__`` of the root object should be ``None`` and its A node returned from the root item's ``__getitem__`` method should have a ``__parent__`` attribute that is a reference to the root object, and its ``__name__`` attribute should match the name by which -it is are reachable via the root object's ``__getitem__``. *That* +it is reachable via the root object's ``__getitem__``. *That* object's ``__getitem__`` should return objects that have a ``__parent__`` attribute that points at that object, and ``__getitem__``-returned objects should have a ``__name__`` attribute -- cgit v1.2.3