view.py
changeset 2788 8d3dbe577d3a
parent 2656 a93ae0f6c0ad
child 2795 59965167bef3
--- a/view.py	Wed Aug 12 18:16:49 2009 +0200
+++ b/view.py	Wed Aug 12 18:40:52 2009 +0200
@@ -151,7 +151,7 @@
         if stream is not None:
             return self._stream.getvalue()
 
-    dispatch = deprecated('.dispatch is deprecated, use .render')(render)
+    dispatch = deprecated('[3.4] .dispatch is deprecated, use .render')(render)
 
     # should default .call() method add a <div classs="section"> around each
     # rset item
@@ -230,7 +230,7 @@
         self.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)
 
     # XXX Template bw compat
-    template = deprecated('.template is deprecated, use .view')(wview)
+    template = deprecated('[3.4] .template is deprecated, use .view')(wview)
 
     def whead(self, data):
         self.req.html_headers.write(data)