Djangoプロジェクトの初期設定を追加。環境変数に基づく設定をsettings.pyに実装し、ASGIおよびWSGI設定ファイルを作成。expensesアプリを追加し、基本的なURLルーティングとテンプレートを整備。作業ログをdiary.mdに追記。
This commit is contained in:
17
templates/expenses/csv_upload.html
Normal file
17
templates/expenses/csv_upload.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}CSV取込{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h2>CSV取込</h2>
|
||||
<div>
|
||||
<p>ここにDrag & Dropエリアを配置予定。</p>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<input type="file" name="csv_file">
|
||||
<button type="submit">アップロード</button>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user