From a66a131abd893bb9e8ffd8a484f9c17ddfca5db7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Dec 2010 19:39:34 -0500 Subject: - Fix reference to ``repoze.bfg.traversalwrapper`` in "Models" chapter (point at ``pyramid_traversalwrapper`` instead). --- CHANGES.txt | 3 +++ docs/narr/models.rst | 13 ++++++------- docs/tutorials/bfg/index.rst | 2 ++ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index e58c0bd25..629769134 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -25,6 +25,9 @@ Documentation - Updated ZODB+Traversal tutorial setup.py of all steps to match what's generated by ``pyramid_zodb``. +- Fix reference to ``repoze.bfg.traversalwrapper`` in "Models" chapter (point + at ``pyramid_traversalwrapper`` instead). + 1.0a5 (2010-12-14) ================== diff --git a/docs/narr/models.rst b/docs/narr/models.rst index 99a2b756d..91828287f 100644 --- a/docs/narr/models.rst +++ b/docs/narr/models.rst @@ -280,18 +280,17 @@ filesystem root directory. to every path and URL generated (as opposed to a single leading slash or empty tuple element). -.. sidebar:: Using :mod:`repoze.bfg.traversalwrapper` +.. sidebar:: Using :mod:`pyramid_traversalwrapper` If you'd rather not manage the ``__name__`` and ``__parent__`` attributes of your models "by hand", an add-on package named - :mod:`repoze.bfg.traversalwrapper` can help. + :mod:`pyramid_traversalwrapper` can help. In order to use this helper feature, you must first install the - :mod:`repoze.bfg.traversalwrapper` package (available via `SVN - `_), then - register its ``ModelGraphTraverser`` as the traversal policy, rather - than the default :app:`Pyramid` traverser. The package contains - instructions for doing so. + :mod:`pyramid_traversalwrapper` package (available via PyPI), then register + its ``ModelGraphTraverser`` as the traversal policy, rather than the + default :app:`Pyramid` traverser. The package contains instructions for + doing so. Once :app:`Pyramid` is configured with this feature, you will no longer need to manage the ``__parent__`` and ``__name__`` attributes diff --git a/docs/tutorials/bfg/index.rst b/docs/tutorials/bfg/index.rst index 537f8accf..7e6c97c2f 100644 --- a/docs/tutorials/bfg/index.rst +++ b/docs/tutorials/bfg/index.rst @@ -186,6 +186,8 @@ Here's how to convert a :mod:`repoze.bfg` application to a #. Fix any test failures. +#. Fix any code which generates deprecation warnings. + #. Start using the converted version of your application. Celebrate. -- cgit v1.2.3