Add models to the Data Source and add fields linked to the models. Use groups and expressions for more
complex annotations and aggregations. Once fields are added specify any filters as needed.
| Model |
{% for group_field in source.group_by %}
{{ group_field|human_title }} · Group
|
{% endfor %}
|
{% for src_model in source.models.all %}
| {{ src_model.name }} |
{% for field_name, group_field in src_model.get_group_fields.items %}
{% if group_field %}
{{ group_field.expression }}
|
{% else %}
Undefined
|
{% endif %}
{% endfor %}
|
{% empty %}
| No models defined |
{% endfor %}