2011/8/15 Milo Gertjejansen <[email protected]>:
> Hello, I have looked into the base arg for in render and in certain
> instances I am sure it works well. But I have created a comment system
> based heavily off of the skeloton code (http://webpy.org/skeleton/
> 0.3).
>
> With this, each time a new template gets called (so for each comment),
> it runs through the base template.
>
> Obviously this is a problem because then they layout would just look
> crazy!
>
> My first solution would be to combine (from the page above) item into
> listing, and listing into base.html so then only a single template
> would be called.
>
> Let me know if there is a way to keep all the separate templates as
> they are, or at least another solution (mostly for ideas at this
> point).

Are you worried about having to call template foo as
render.layout(render.foo()) ?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to