diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-25 01:28:09 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-25 01:28:09 +0000 |
| commit | ca53b25e6c27a613440a433aded6bfbcd9df4098 (patch) | |
| tree | 1d57af8aa31e10ed5031d81a1e97d6621a40096e /docs/narr | |
| parent | 056cd0feac3b65bc1402d21e2958a9409e80b6d2 (diff) | |
| download | pyramid-ca53b25e6c27a613440a433aded6bfbcd9df4098.tar.gz pyramid-ca53b25e6c27a613440a433aded6bfbcd9df4098.tar.bz2 pyramid-ca53b25e6c27a613440a433aded6bfbcd9df4098.zip | |
Temporarily hide step4, tweaks.
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/models.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/narr/models.rst b/docs/narr/models.rst index 40d52ca99..045bcad52 100644 --- a/docs/narr/models.rst +++ b/docs/narr/models.rst @@ -60,7 +60,7 @@ Location-Aware Model Instances by via ``__getitem__``. If you choose not to manage the ``__name__`` and ``__parent__`` - attributes of your models "by hand", :mod:``repoze.bfg`` is willing + attributes of your models "by hand", :mod:`repoze.bfg`` is willing to help you do this. If your "root" node claims it implements the interface ``zope.location.interfaces.ILocation``, you don't need to manage these attributes by hand. During traversal, if the root node @@ -70,7 +70,6 @@ Location-Aware Model Instances If you choose to make use of the dynamic assignment of ``__parent__`` and ``__name__``, the root node must have a ``__parent__`` and a - ``__name__`` that are both None, and it must provide the + ``__name__`` that are both ``None``, and it must provide the ``ILocation`` interface. The easiest way to do this is to claim that - the class representing the root node - ``implements(ILocation)``. + the class representing the root node ``implements(ILocation)``. |
