Files
wagtailcms/wagtailcms
Zhengen 097b16eb09 修复生产环境 postgres.E005:INSTALLED_APPS 缺少 django.contrib.postgres
PostgreSQL 后端下,wagtailsearch.IndexEntry 模型会使用 SearchVectorField/
GinIndex 等 postgres 专属字段/索引类型,必须启用 django.contrib.postgres
才能通过 Django system check。dev 环境用 SQLite 不受影响,故只在
wagtailcms/settings/production.py 追加该 app。

验证:dev settings(sqlite)manage.py check 仍只有已知 treebeard.E001 警告;
pytest 67 个用例全部通过。
2026-09-11 10:57:20 +08:00
..