diff options
| -rw-r--r-- | repoze/bfg/push.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/push.py b/repoze/bfg/push.py index b48f70056..61b2f9cf0 100644 --- a/repoze/bfg/push.py +++ b/repoze/bfg/push.py @@ -12,8 +12,9 @@ class pushpage(object): Equates to:: + from repoze.bfg.template import render_template_to_response def my_view(context, request): - return render_template('www/my_template.pt', a=1, b=()) + return render_template_to_response('www/my_template.pt', a=1, b=()) """ def __init__(self, template): |
