refactor: Use custom CSV export view

Remove dependency on djangorestframework-csv
This commit is contained in:
James Graham
2020-03-27 17:00:37 +00:00
parent 2cdc7675c7
commit da57108e3e
8 changed files with 50 additions and 53 deletions

View File

@@ -24,7 +24,7 @@
<td></td>
<td>
<a class="btn btn-info"
href="{% url 'people:person.api.list' %}?format=csv">Export</a>
href="{% url 'people:person.export' %}">Export</a>
</td>
</tr>
@@ -33,7 +33,7 @@
<td></td>
<td>
<a class="btn btn-info"
href="{% url 'people:relationship.api.list' %}?format=csv">Export</a>
href="{% url 'people:relationship.export' %}">Export</a>
</td>
</tr>
</tbody>