If your model relates the comments to the movie, SQLAlchemy's lazy-
loading would handle this automatically. In your comments template:
% if tmpl_movie.comments:
<ul>
% for comment in tmpl_context.movie.comments:
<li>{$comment.text}</li>
% endfor
</ul>
You could wrap your include so that it wouldn't be included while
editing the movie.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.