{% load horodated %} {% if formation.ranges.count == 1 %} {% with range=formation.ranges.first %} {{ range.begin|postdate:"j F Y" }} de {{ range.begin|date:"H:i" }} à {{ range.end|date:"H:i" }} {% endwith %} {% else %}