feat: 切换到 PostgreSQL 数据库 (cssc) + 示例数据已导入

This commit is contained in:
maoshen
2026-04-10 13:15:18 +00:00
parent 315fd5878b
commit e342156e9f
47 changed files with 19 additions and 2 deletions

View File

@@ -84,8 +84,12 @@ WSGI_APPLICATION = 'city_manual.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'cssc',
'USER': 'coder',
'PASSWORD': '825670wl',
'HOST': '10.2.0.100',
'PORT': '5432',
}
}