diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-09-26 06:42:53 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-09-26 06:42:53 +0000 |
| commit | 01a6e567a20096f6033cc603667f4e900d2a44c3 (patch) | |
| tree | a87431383a63dbafbb5cccdfa7679b9187bdfc29 /repoze/bfg/push.py | |
| parent | 26216e5526ca56d886d2348f9e1f09b86622aa72 (diff) | |
| download | pyramid-01a6e567a20096f6033cc603667f4e900d2a44c3.tar.gz pyramid-01a6e567a20096f6033cc603667f4e900d2a44c3.tar.bz2 pyramid-01a6e567a20096f6033cc603667f4e900d2a44c3.zip | |
Move to Chameleon.
Diffstat (limited to 'repoze/bfg/push.py')
| -rw-r--r-- | repoze/bfg/push.py | 6 |
1 files changed, 3 insertions, 3 deletions
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=()) |
