From cbdc36976c18a0812f921ee3b7b92ed2dd823ed0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 28 Sep 2008 02:17:36 +0000 Subject: Features - A ``repoze.bfg.location`` API module was added. Backwards incompatibilities - Applications must now use the ``repoze.bfg.interfaces.ILocation`` interface rather than ``zope.location.interfaces.ILocation`` to represent that a model object is "location-aware". We've removed a dependency on ``zope.location`` for cleanliness purposes: as new versions of zope libraries are released which have improved dependency information, getting rid of our dependence on ``zope.location`` will prevent a newly installed repoze.bfg application from requiring the ``zope.security``, egg, which not truly used at all in a "stock" repoze.bfg setup. These dependencies are still required by the stack at this time; this is purely a futureproofing move. The security and model documentation for previous versions of ``repoze.bfg`` recommended using the ``zope.location.interfaces.ILocation`` interface to represent that a model object is "location-aware". This documentation has been changed to reflect that this interface should now be imported from ``repoze.bfg.interfaces.ILocation`` instead. --- docs/api/location.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/api/location.rst (limited to 'docs/api') diff --git a/docs/api/location.rst b/docs/api/location.rst new file mode 100644 index 000000000..dc7d50a2f --- /dev/null +++ b/docs/api/location.rst @@ -0,0 +1,14 @@ +.. _location_module: + +:mod:`repoze.bfg.location` +-------------------------- + +.. automodule:: repoze.bfg.location + + .. autofunction:: lineage + + .. autofunction:: inside + + .. autofunction:: locate + + -- cgit v1.2.3