Posts Tagged ‘template’
Extending the for loop in Django templates
Posted by Martin Brochhaus | Filed under Tutorials
Django comes with an excellent templating language which has many built-in template tags and filters. Although it is very powerful already there are a few scenarios which cannot be solved, yet. As far as I know the for-loop can only iterate over a list of objects. You are not able to use a C-like for-loop [...]







