[Fixed]-Django include template with cycled variable

1👍

You could try:

{% cycle 'active' '' as active_or_not silent %}
{% include '_row.html' with rowcolor=active_or_not %}

Hope this helps

Leave a comment