From 3f7735c6d1f56e3bde8a1fec8c8f6e4a57c20676 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 3 Feb 2010 04:24:06 +0000 Subject: Renderings. --- docs/narr/zca.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/narr/zca.rst') diff --git a/docs/narr/zca.rst b/docs/narr/zca.rst index 0a2fc5808..418312caa 100644 --- a/docs/narr/zca.rst +++ b/docs/narr/zca.rst @@ -127,14 +127,14 @@ interface of a registry instead, you need only know how to obtain the There are two ways of doing so: -- use the :func:`repoze.bfg.threadlocal.get_current_registry`` +- use the :func:`repoze.bfg.threadlocal.get_current_registry` function within :mod:`repoze.bfg` view or model code. This will always return the "current" :mod:`repoze.bfg` application registry. - use the attribute of the :term:`request` object named ``registry`` in your :mod:`repoze.bfg` view code, eg. ``request.registry``. This - is the application registry related to the running :mod:`repoze.bfg` - application. + is the ZCA component registry related to the running + :mod:`repoze.bfg` application. See :ref:`threadlocals_chapter` for more information about :func:`repoze.bfg.threadlocal.get_current_registry`. -- cgit v1.2.3