<table>
<tbody>
{% for obj in objects %}
<tr>
<td>{{ obj.col1 }}</td><td>{{ obj.col2 }}</td>...
</tr>
{% endfor %}
</tbody>
</table>

On Dec 1, 10:04 am, kang <[EMAIL PROTECTED]> wrote:
> what?
> I want to show 5 objs in each row, how to write the code?
>
>
>
> On Mon, Dec 1, 2008 at 5:01 PM, A. TNG <[EMAIL PROTECTED]> wrote:
>
> > On Mon, Dec 1, 2008 at 2:27 PM, lookon <[EMAIL PROTECTED]> wrote:
>
> > > I want to render table in the response. and the template_value is
> > > objects. Then my question is how to write the template file.
>
> > > for example,
> > > {% for obj in objects %}
> > > <table>
> > > <tbody>
> > > code here
>
> > {{ obj }} dosen't work?
>
> > > </tbody>
> > > </table>
> > > {% endfor %}
>
> > --
> > Best Regards,
> > TANG Jiyu (Blog:http://jiyu.wordpress.com.cn)
>
> --
> Stay hungry,Stay foolish.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to