If I have a list of objects that require similar layouts but need some attribute set based on the class of object how can I go about getting the class name while class and other xx values are not available within templates.
{% for obj in objects %} <div class={{obj.__class__.__name__}} .. </div> {% endfor }}
There is probably an alternative approach i'm missing here..