[Checkins] SVN: five.pt/trunk/ Add DateTime to the base context. Fixes problems with certain ZMI pages.
Wichert Akkerman
wichert at wiggy.net
Sat May 15 02:47:54 EDT 2010
Log message for revision 112323:
Add DateTime to the base context. Fixes problems with certain ZMI pages.
Changed:
U five.pt/trunk/CHANGES.txt
U five.pt/trunk/src/five/pt/pagetemplate.py
-=-
Modified: five.pt/trunk/CHANGES.txt
===================================================================
--- five.pt/trunk/CHANGES.txt 2010-05-14 21:48:44 UTC (rev 112322)
+++ five.pt/trunk/CHANGES.txt 2010-05-15 06:47:53 UTC (rev 112323)
@@ -3,7 +3,8 @@
In next release...
-- ...
+- Add DateTime to the base context. Fixes problems with certain ZMI pages.
+ [wichert]
1.0 - 2010-05-13
Modified: five.pt/trunk/src/five/pt/pagetemplate.py
===================================================================
--- five.pt/trunk/src/five/pt/pagetemplate.py 2010-05-14 21:48:44 UTC (rev 112322)
+++ five.pt/trunk/src/five/pt/pagetemplate.py 2010-05-15 06:47:53 UTC (rev 112323)
@@ -1,5 +1,6 @@
import os
+from DateTime import DateTime
from zope.app.pagetemplate.viewpagetemplatefile import ViewMapper
from Acquisition import aq_get
@@ -53,6 +54,7 @@
root=get_physical_root(context),
user=getSecurityManager().getUser(),
modules=SecureModuleImporter,
+ DateTime=DateTime,
options=kwargs)
for name, value in self.utility_builtins.items():
More information about the checkins
mailing list