From 11ec01307083c2e2ce7baf04922554e790d8d460 Mon Sep 17 00:00:00 2001 From: xiaji Date: Mon, 5 Jan 2026 22:54:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/views.py b/core/views.py index fa3b8bb..f6210e6 100644 --- a/core/views.py +++ b/core/views.py @@ -53,8 +53,9 @@ def index(request): # 获取今日计划 today_plan = TodayPlan.objects.filter(date=today) + # 获取待处理的家庭事项 - pending_family_tasks = FamilyTask.objects.filter(status='pending') + pending_family_tasks = FamilyTask.objects.filter(status__name='pending') context = { 'yesterday': yesterday,