Make url/url_code methods safe

This commit is contained in:
Claude Paroz 2018-05-28 10:32:35 +02:00
parent 5dc29dd907
commit eb200de278
6 changed files with 52 additions and 53 deletions

View file

@ -22,7 +22,7 @@
</tr>
<tr>
<th>Domaine</th>
<td>{{ object.domaine.url|safe }}</td>
<td>{{ object.domaine.url }}</td>
</tr>
<tr>
<th>Responsable</th>
@ -32,7 +32,7 @@
<th>Modules concernés</th>
<td>
{% for m in object.module_set.all %}
{{ m.url|safe }}<br>
{{ m.url }}<br>
{% endfor %}
</td>
</tr>