{% load i18n leprikon_tags sekizai_tags thumbnail %} {% for group in groups %} {% if group.objects.count %}