你试试这个代码,它就会解决
<a href="{% url 'download_wav' filename='your_wav_filename.wav' %}">Download .wav File</a>