Skip to content

Instantly share code, notes, and snippets.

@BlackPie
BlackPie / template.html
Created June 28, 2016 09:23 — forked from imkevinxu/template.html
Django code to read uploaded CSV file
<form action="{% url %}" method="post" enctype="multipart/form-data">{% csrf_token %}
<input type="file" name="csv_file" />
<input type="submit" value="Upload" />
</form>