Re: Flexible For loop

2015-04-07 Thread Nkansah Rexford
Thanks for pointing out. That's the solution then! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Re: Flexible For loop

2015-04-03 Thread Peith Vergil
The tiled cards with varying sizes are done in JavaScript. Have a look at the Masonry JS library. It'll allow you to easily get the same effect. You just need to render the Django templates as usual. Then, use Masonry to automatically rearrange the tiles. On Apr 3, 2015 11:48 PM, "Nkansah

Flexible For loop

2015-04-03 Thread Nkansah Rexford
allow me to use wired.com to ask my question On wired.com, you see the news items displayed in cards, with varying sizes. In django, using the {% for %} will mean all the news item will have the same card design and size etc. Is there a way in Django to have the design intact, and just