[Checkins] SVN: z3c.pt/trunk/ Bind template to the template object in the general case.
Malthe Borch
mborch at gmail.com
Thu May 13 08:24:25 EDT 2010
Log message for revision 112276:
Bind template to the template object in the general case.
Changed:
U z3c.pt/trunk/CHANGES.txt
U z3c.pt/trunk/src/z3c/pt/pagetemplate.py
-=-
Modified: z3c.pt/trunk/CHANGES.txt
===================================================================
--- z3c.pt/trunk/CHANGES.txt 2010-05-13 12:21:55 UTC (rev 112275)
+++ z3c.pt/trunk/CHANGES.txt 2010-05-13 12:24:24 UTC (rev 112276)
@@ -3,8 +3,8 @@
In next release...
+- Bind template to the template object in the general case.
-
1.2 (2010/05/12)
------------------
Modified: z3c.pt/trunk/src/z3c/pt/pagetemplate.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/pagetemplate.py 2010-05-13 12:21:55 UTC (rev 112275)
+++ z3c.pt/trunk/src/z3c/pt/pagetemplate.py 2010-05-13 12:24:24 UTC (rev 112276)
@@ -141,7 +141,7 @@
return BoundPageTemplate(self, render)
def __call__(self, *args, **kwargs):
- bound_pt = self.bind()
+ bound_pt = self.bind(self)
return bound_pt(*args, **kwargs)
def _pt_get_context(self, instance, request, kwargs):
More information about the checkins
mailing list