2008-3-30
| 23:51 | hippyhacker | I'm trying to find docs on how to loop through 4 at a time in a template given a list of objects... to say put four per line |
| 23:52 | belred | you can consider us to be similar to search engine usage. not a lot of browsing, but a lot of searching and serving up documents |
| 23:53 | all | hippyhacker: use if to check if you need a newline |
| 23:53 | all | ifequal forloopcounter '4' |
| 23:54 | iggy | hippyhacker: http://www.djangoproject.com/documentation/temp... check variables |
| 23:54 | hippyhacker | I don't see any math in the templates |
| 23:54 | hippyhacker | so how would I do it again at 8, 16, 32 ad noseum |
| 23:54 | all | divisibleby |
| 23:54 | hippyhacker | ahhh |
| 23:54 | all | or however they spell it |
Page 28 of 28
← Previous
(2,710 total)