{% extends "admin/import/import_report.html" %} {% load i18n admin_static %} {% block report_headers %} DB Event Type Draw Type Round Match Winner Score Player 1 Player 2 Player 3 Player 4 Time Date Location {% endblock %} {% block report_body %} {% for match, pms in matches %} {% if not match.pk %} Green Plus {% else %} Pencil {% endif %} {{ match.get_event_type_display }} {{ match.get_draw_type_display }} {{ match.get_round_number_display }} {{ match.match_number }} {{ match.get_winner_display }} {{ match.final_score }} {{ pms.0.player }} {{ pms.1.player }} {{ pms.2.player }} {{ pms.3.player }} {{ match.match_time|time }} {{ match.match_date|date:"m/d" }} {{ match.get_location_display }} {% endfor %} {% endblock %}