I would like to display data, three columns per row during mine. I would like my result to look like this:
<table> <tr><td>VALUE1</td><td>VALUE2</td><td>VALUE3</td></tr> <tr><td>VALUE4</td><<td>VALUE5</td><td>VALUE6</td></tr> </table>
Does anyone know how to do this?
Syntax error TemplateSyntaxError at /
Operators
'for' should use the format "for x in y": for i in the range (0, len (all_products_list), 3)
python django for-loop
Dusean singh
source share