13 lines
318 B
Plaintext
13 lines
318 B
Plaintext
![]() |
# Django配置
|
|||
|
SECRET_KEY=your-secret-key-here
|
|||
|
DEBUG=True
|
|||
|
|
|||
|
# 数据库配置(可选,默认使用SQLite)
|
|||
|
# DATABASE_URL=postgresql://username:password@localhost:5432/daily_report_db
|
|||
|
|
|||
|
# 跨域配置
|
|||
|
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
|||
|
|
|||
|
# 其他配置
|
|||
|
ALLOWED_HOSTS=localhost,127.0.0.1
|