{% load i18n %} {% with newsletter.get_items_by_section as items %} {% regroup items by section as sections %} {% endwith %}