feat: complete local version to overwrite remote

This commit is contained in:
DelLevin-Home
2026-06-16 03:30:57 +08:00
parent 1735c19f48
commit 3c78293f4d
129 changed files with 22814 additions and 0 deletions

18
www_comments/config.py Normal file
View File

@@ -0,0 +1,18 @@
import os
# 基础配置
SECRET_KEY = 'your_secret_key_here'
HOST = '0.0.0.0'
PORT = 27052
DEBUG = False
# 管理员账号配置
ADMIN_USERNAME = 'admin'
ADMIN_PASSWORD = 'zhaoyang0902'
# 数据文件路径
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
DATA_FILE = os.path.join(BASE_DIR, 'data', 'comments.json')
# 分页配置
PAGE_SIZE_ADMIN = 10
PAGE_SIZE_FRONTEND = 10