Local site manager implementation for Zope 2
five.localsitemanager attempts to provide a local site manager implementation that is as close to Zope 3’s implemenation as possible. Some reservations that do not conflict with Zope 3 have been made to easy the path with CMF.
Read-only Subversion checkout:
$ svn co svn://svn.zope.org/repos/main/five.localsitemanager/trunk
Writable Subversion checkout:
$ svn co svn+ssh://svn.zope.org/repos/main/five.localsitemanager/trunk
- Zope 2.10.x
Place a five.localsitemanager-configure.zcml file into your instance’s etc/package-includes directory with the following contents:
<include package="five.localsitemanager" />
Also setup a five.localsitemanager-overrides.zcml file into your instance’s etc/package-includes directory with the following contents:
<include package="five.localsitemanager" file="overrides.zcml" />
Running the Tests
Use the following command to run this package’s tests:
$ bin/zopectl test -s five.localsitemanager
0.4 - 2008-07-23
- Rewrite PersistentComponents.registeredUtilities to not use internal methods. This makes it compatible with both zope.component <3.5.0dev and >3.5.0dev.
0.3 - 2007-12-24
- Fixed potential aq problem when assigning various values to the utilities registry of the component registry.
0.2 - 2007-06-30
- Refactored and fixed aq wrapping: Nested site managers now return utilities wrapped in the right context. RequestContainers are removed and wrapped utilities are cached. This requires a special LookupClass called ‘FiveVerifyingAdapterLookup’ in all ‘utilities’ registries used below a five.localsitemanager site.
0.1.2 - 2007-06-23
- Corrected the zip-safe flag to be False.
0.1.1 - 2007-03-05
- Fixed aq wrapping when looking up a utility that is actually the component registry’s parent (the ISite).
- Initial version
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size five.localsitemanager-0.4.tar.gz (11.1 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for five.localsitemanager-0.4.tar.gz