Correction des urls

This commit is contained in:
Martin Pépin 2016-06-06 00:14:08 +02:00
parent 7c8f63d756
commit a4701b9a27

View file

@ -3,9 +3,9 @@
{% block realcontent %} {% block realcontent %}
<h1><strong>Spectacles</strong></h1> <h1><strong>Spectacles</strong></h1>
<ul> <ul>
<li><a href="{% url 'bda-unpaid' %}">Pas payé</a></li> <li><a href="{% url 'bda-unpaid' tirage.id %}">Pas payé</a></li>
{% for spectacle in object_list %} {% for spectacle in object_list %}
<li><a href="{% url 'bda-spectacle' spectacle.id %}">{{ spectacle }}</a></li> <li><a href="{% url 'bda-spectacle' tirage_id=tirage.id spectacle_id=spectacle.id %}">{{ spectacle }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endblock %} {% endblock %}