Skip to content
Browse files

edit

  • Loading branch information...
1 parent dadbdab commit 71cea2aa392ac77e62ba075ee268c27feeba729f Bibby committed with anandology Mar 24, 2010
Showing with 17 additions and 0 deletions.
  1. +17 −0 cookbook/concatenate_two_rendered_templates.md
View
17 cookbook/concatenate_two_rendered_templates.md
@@ -0,0 +1,17 @@
+---
+layout: default
+title:
+---
+
+* Problem:
+
+How to concatenate two rendered templates?
+
+* Solution:
+
+ render = web.template.render('templates')
+
+ def GET():
+ article = render.article()
+ comments = render.comments()
+ return render.index(unicode(article), unicode(comments))

0 comments on commit 71cea2a

Please sign in to comment.
Something went wrong with that request. Please try again.