[CMF-checkins] SVN: CMF/trunk/CMFDefault/browser/document.txt set
site
Yvo Schubbe
y.2007- at wcm-solutions.de
Wed Jun 6 13:19:40 EDT 2007
Log message for revision 76440:
set site
Changed:
U CMF/trunk/CMFDefault/browser/document.txt
-=-
Modified: CMF/trunk/CMFDefault/browser/document.txt
===================================================================
--- CMF/trunk/CMFDefault/browser/document.txt 2007-06-06 16:46:59 UTC (rev 76439)
+++ CMF/trunk/CMFDefault/browser/document.txt 2007-06-06 17:19:40 UTC (rev 76440)
@@ -8,6 +8,8 @@
>>> uf = app.site.acl_users
>>> uf._doAddUser('mgr', 'mgrpw', ['Manager'], [])
+ >>> from zope.app.component.hooks import setSite
+ >>> setSite(app.site)
Create the browser object we'll be using.
More information about the CMF-checkins
mailing list