Added download link on document edit form

This commit is contained in:
Jonas Winkler 2018-12-12 18:38:14 +01:00
parent 4b20d5d4b9
commit 99bfcd4d67

View File

@ -1,5 +1,14 @@
{% extends 'admin/change_form.html' %}
{% block object-tools-items %}
<li>
<a href="{{download_url}}">
Download file
</a>
</li>
{{ block.super }}
{% endblock %}
{% block content %}
{{ block.super }}