get rid of hardcoded url to country, use name "country" from "name" in path -> urlpatterns

This commit is contained in:
koksnuss 2020-04-22 17:17:34 +02:00
parent 2495b9ded3
commit c328717423

View File

@ -1,7 +1,7 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<td colspan="4"><a href="/coinc/{{ country.name_iso }}">{{ country.name }}</a><td> <td colspan="4"><a href="{% url 'country' country.name_iso %}">{{ country.name }}</a><td>
<td colspan="2">x €</td> <td colspan="2">x €</td>
<td colspan="9"></td> <td colspan="9"></td>
</tr> </tr>