289ec43265
feat(setting): add Chinese verbose_name/help_text to setting models (Phase 4.1 part 7/9)
2026-04-30 09:30:35 +08:00
79c3cf2924
feat(models): add Chinese verbose_name to all 74 models (Phase 4.0)
...
为所有 Django 模型添加 Meta.verbose_name 和 verbose_name_plural(中文表名),
覆盖 10 个 app 的全部 74 个业务模型。
Phase 4.0 范围:
- 仅 Meta 类级别中文名(用于 Django Admin、drf-spectacular OpenAPI title、错误信息)
- 字段级 verbose_name= 和 help_text= 留待 Phase 4.1(待 PM 补全 DATA_MODEL 后同步)
变更:
- 20 个 models 文件改动(每个模型 +2 行)
- 8 个 0002/0003 迁移文件(Meta options 变更)
- apps/tenant/migrations/0001_initial.py(之前漏生成的 tenant 模型迁移)
manage.py check: 0 issues。
2026-04-29 19:10:38 +08:00
Sisyphus
ed40de4050
feat(client,setting): complete Phase 2 with partitioned client_follow_logs
...
- apps/client (11 models): Client, ClientContact, ClientRequirement,
ClientSchoolPreference, ClientFollowLog (partitioned),
ClientFollowLogAttachment, ClientViewing, ClientPropertyMatch,
ClientStatusLog, ClientFavoriteFolder, ClientFolderItem
- apps/client/0002 RunSQL: PARTITION BY RANGE(created_at) for
client_follow_logs + monthly partitions + default; triggers
update_client_last_follow + update_client_viewing_progress;
partial unique index on client_no WHERE deleted_at IS NULL
- apps/setting (4 models): LookupGroup, LookupItem, TenantSetting,
FieldRequirementRule (tenant schema only per spec)
manage.py check green; all 9 Phase 2 apps complete.
2026-04-29 17:33:58 +08:00
9a7d06b34e
feat: scaffold Django multi-tenant project with 5 of 9 apps
...
Phase 1 scaffolding: config/, core/, base models, AES-256-GCM phone encryption, enums mirror
apps.tenant: Tenant + Domain (django-tenants)
apps.org: 11 models (OrgUnit hierarchy, Staff, audit logs)
apps.account: 4 models (UserAccount as AUTH_USER_MODEL, login/password tracking)
apps.permission: 7 models (RBAC + overrides + datascope + append-only changelog)
apps.region: 5 models (District, BusinessArea, MetroLine, MetroStation, School)
All migrations generated, manage.py check passes
2026-04-29 17:01:55 +08:00
61535a53c2
清空,重构
2026-04-28 13:15:55 +08:00
4aba6dfa77
Initialize Fonrey Django multi-tenant project skeleton
...
Set up the required directory layout, app scaffolding, core settings, templates, static assets, and Docker/Tailwind tooling to establish a standardized development baseline.
2026-04-26 17:12:09 +08:00