fix some bugs && change push way

This commit is contained in:
2026-08-25 18:54:12 +08:00
parent a32818b55e
commit c65cc92386
40 changed files with 88 additions and 28 deletions

View File

@@ -0,0 +1,25 @@
"""
本地设置示例文件
使用方法:复制为 local_settings.py 并按需修改
cp local_settings.example.py local_settings.py
"""
# 生产环境请设置
# import os
# SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'your-secret-key')
# DEBUG = False
# ALLOWED_HOSTS = ['www.yuangyaa.com', 'yuangyaa.com']
# 生产环境数据库PostgreSQL
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.postgresql',
# 'NAME': 'blog',
# 'USER': 'blog_user',
# 'PASSWORD': 'your_password',
# 'HOST': 'localhost',
# 'PORT': '5432',
# }
# }