Try to fix issue 4
This commit is contained in:
17
rog/templates/admin/entry/upload_csv.html
Normal file
17
rog/templates/admin/entry/upload_csv.html
Normal file
@ -0,0 +1,17 @@
|
||||
{% extends "admin/base_site.html" %}
|
||||
{% load i18n static %}
|
||||
|
||||
{% block content %}
|
||||
<div>
|
||||
<form action="." method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
<label for="csv_file">Choose CSV file:</label>
|
||||
<input type="file" name="csv_file" required>
|
||||
</div>
|
||||
<div style="margin-top: 20px;">
|
||||
<input type="submit" value="Upload CSV">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user