[Zope-Checkins] SVN: Products.Five/trunk/ * Added
Five.browser.pagetemplatefile.ViewPageTemplateFile as an alias
Philipp von Weitershausen
philikon at philikon.de
Sat Jun 10 19:13:53 EDT 2006
Log message for revision 68579:
* Added Five.browser.pagetemplatefile.ViewPageTemplateFile as an alias
to ZopeTwoPageTemplateFile and as a Zope 2 correspondence to
zope.app.pagetemplate.ViewPageTemplateFile.
Changed:
U Products.Five/trunk/CHANGES.txt
U Products.Five/trunk/browser/pagetemplatefile.py
-=-
Modified: Products.Five/trunk/CHANGES.txt
===================================================================
--- Products.Five/trunk/CHANGES.txt 2006-06-10 22:47:34 UTC (rev 68578)
+++ Products.Five/trunk/CHANGES.txt 2006-06-10 23:13:52 UTC (rev 68579)
@@ -2,6 +2,13 @@
Five Changes
============
+Five 1.5 (unreleased)
+=====================
+
+* Added Five.browser.pagetemplatefile.ViewPageTemplateFile as an alias
+ to ZopeTwoPageTemplateFile and as a Zope 2 correspondence to
+ zope.app.pagetemplate.ViewPageTemplateFile.
+
Five 1.5c (2006-05-29)
======================
Modified: Products.Five/trunk/browser/pagetemplatefile.py
===================================================================
--- Products.Five/trunk/browser/pagetemplatefile.py 2006-06-10 22:47:34 UTC (rev 68578)
+++ Products.Five/trunk/browser/pagetemplatefile.py 2006-06-10 23:13:52 UTC (rev 68579)
@@ -21,9 +21,7 @@
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
from Products.PageTemplates.Expressions import SecureModuleImporter
from Products.PageTemplates.Expressions import createTrustedZopeEngine
-
from zope.app.pagetemplate.viewpagetemplatefile import ViewMapper
-from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
_engine = createTrustedZopeEngine()
def getEngine():
@@ -92,3 +90,5 @@
c['views'] = ViewMapper(here, request)
return c
+
+ViewPageTemplateFile = ZopeTwoPageTemplateFile
More information about the Zope-Checkins
mailing list