---
title: '{% regroup %}'
description: used for outputting list of dictionaries in different orders and structures.
date: '2026-08-02'
categories:
  - Template Tag
  - Utility
canonical: https://coolify.djangotemplatetagsandfilters.com/tags/regroup/
doc_link: https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#regroup
---

# {% regroup %}

used for outputting list of dictionaries in different orders and structures.

## Documentation

Used for outputting list of dictionaries in different orders and structures.

This is probably the most complex of all the built-in tags, but it is well documented in the [Official Documenation](https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#regroup).
