added dep and promotion to results

This commit is contained in:
Ju Luiselli 2020-02-08 11:32:47 +01:00
parent c6f134c31d
commit 6ff754a882

View file

@ -12,7 +12,7 @@
<div>
<ul>
{% for profile in result %}
<li><a href="{% url 'fiche' profile.id %}">{{profile.full_name}} {{profile.departement}}
<li><a href="{% url 'fiche' profile.id %}">{{profile.full_name}} ({{ profile.department.all|join:", " }} {{profile.promotion}})
</a> </li>
{% endfor %}
</ul>