{% load i18n %}
{% with newsletter.get_items_by_category as items %} {% regroup items by category as categories %} {% for category in categories %}

{{ category.grouper.name }}

{% for item in category.list %} {% endfor %}
{% endfor %}
{% endwith %}