I (newbie) am looking at using Blueprintcss to display a 7 column array of data. The data is passed to the template in "dataarray". I have tested the code below without the <tbody> section and the column headings display correctly.
Adding the <tbody> section to the code causes an error at {% for row in dataarray %}: Caught an exception while rendering: 'int' object is not iterable Very similar code in a template that uses a simple table (without Blueprint) does not throw an error. {% extends "base.html" %} {% block content %} <body> <div class="container showgrid"> <h1>Agent summary report</h1> <p> The most recent listing for each property listed within the past 12 weeks</p> <thead> <th class="span-4">Address</th> <th class="span-2">Date</th> <th class="span-2">Price</th> <th class="span-2">Method</th> <th class="span-3">Agent</th> <th class="span-3"> </th> <th class="span-3 last">Mobile</th> </thead> <tbody> {% for row in dataarray %} <tr> {% for item in row %} <td>{{ item }}</td> {% endfor %} </tr> {% endfor %} </tbody> </div> </body> {% endblock %} Any hints, or pointers to the display of multi-row columned data would be appreciated. Mike Rowan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---