{% load i18n %}
Registration Counts
{{ competition.title }} - {{ season.title }}
{% regroup teams by club_id as clubs %}
Club
Team
Division
Players
Non players
{% for club in clubs %}
{% for team in club.list %}
{% ifchanged team.club_id %} {{ team.club.title }} {% endifchanged %}
{{ team.title }}
{{ team.division.title }}
{{ team.player_count|default_if_none:0 }}
{{ team.non_player_count|default_if_none:0 }}
{% endfor %}
{% endfor %}