send a file on request

This commit is contained in:
neingeist 2018-11-10 21:13:20 +01:00
parent c56c1226d3
commit e340e967a6
2 changed files with 16 additions and 4 deletions

View file

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
<meta http-equiv="refresh" content="0;URL='download_file/test.mp3'" />
{% endblock %}
{% block app_content %}
<h1>Thanks!</h1>
{% endblock %}