Skip to content
Snippets Groups Projects
Commit f29c356a authored by baoshun yan's avatar baoshun yan
Browse files

update home.html

parent ad8ca7f1
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,9 @@
<div>
{{ file.name }} -- added by {{ file.owner }} -- {{ file.created }}
{# {% url delete audio_file_id=file.id as delete_url %}#}
<form method="POST"
style="display: inline;"
action="/deleteFile/{{ file.id }}/">
action="{% url 'delete' file.id %}">
{% csrf_token %}
<input type="submit" value="Delete"/>
</form>
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment