Djangoプロジェクトの初期設定を追加。環境変数に基づく設定をsettings.pyに実装し、ASGIおよびWSGI設定ファイルを作成。expensesアプリを追加し、基本的なURLルーティングとテンプレートを整備。作業ログをdiary.mdに追記。

This commit is contained in:
president
2025-12-19 15:30:38 +09:00
parent bfca4ee185
commit 5fc2a31f50
22 changed files with 379 additions and 7 deletions

16
config/asgi.py Normal file
View File

@@ -0,0 +1,16 @@
"""
ASGI config for config project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
application = get_asgi_application()