Add WSGI config and ignore database file

This commit is contained in:
2026-04-01 21:48:14 +08:00
parent acf01bdd59
commit 0c0466e378
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@@ -13,3 +13,4 @@ dist/
# 备份 # 备份
*.old/ *.old/
*.bak *.bak
db.sqlite3

View File

@@ -0,0 +1,11 @@
"""
WSGI config for lobster_monitor project.
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings')
application = get_wsgi_application()