admin: add ?back to everything

This commit is contained in:
Jens Langhammer
2018-11-26 22:29:59 +01:00
parent b656cd1139
commit 5c5c865c0b
6 changed files with 10 additions and 29 deletions

View File

@ -20,7 +20,7 @@
<tr>
<td>{{ source.name }}</td>
<td>{{ source.cast|fieldtype }}</td>
<td><a href="{% url 'passbook_admin:source-update' pk=source.pk %}">{% trans 'Edit' %}</a></td>
<td><a href="{% url 'passbook_admin:source-update' pk=source.pk %}?back={{ request.get_full_path }}">{% trans 'Edit' %}</a></td>
</tr>
{% endfor %}
</tbody>