From 01a6e567a20096f6033cc603667f4e900d2a44c3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 26 Sep 2008 06:42:53 +0000 Subject: Move to Chameleon. --- repoze/bfg/push.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'repoze/bfg/push.py') diff --git a/repoze/bfg/push.py b/repoze/bfg/push.py index 61b2f9cf0..9b3197cf6 100644 --- a/repoze/bfg/push.py +++ b/repoze/bfg/push.py @@ -1,8 +1,8 @@ import os.path -from repoze.bfg.template import render_template_to_response +from repoze.bfg.chameleon_zpt import render_template_to_response class pushpage(object): - """ Decorator for functions which return ZPT template namespaces. + """ Decorator for functions which return Chameleon template namespaces. E.g.:: @@ -12,7 +12,7 @@ class pushpage(object): Equates to:: - from repoze.bfg.template import render_template_to_response + from repoze.bfg.chameleon import render_template_to_response def my_view(context, request): return render_template_to_response('www/my_template.pt', a=1, b=()) -- cgit v1.2.3