From fd96418a6793cb624d878c6b0628d95e64956969 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 17 Nov 2023 19:24:59 -0500 Subject: gtd: added an all to project list view --- app/gtd/models.py | 2 +- app/gtd/templates/gtd/project_list.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'app/gtd') diff --git a/app/gtd/models.py b/app/gtd/models.py index 38b4694..6b55f3b 100644 --- a/app/gtd/models.py +++ b/app/gtd/models.py @@ -56,7 +56,7 @@ class GTDProject(models.Model): body_html = models.TextField(blank=True) date_goal = models.DateField(blank=True, null=True) date_ended = models.DateField(blank=True, null=True) - project_type = models.IntegerField(choices=PROJECT_TYPE, default=2) + project_type = models.IntegerField(choices=PROJECT_TYPE, default=PERSONAL) outcome = models.ForeignKey(GTDOutcome, on_delete=models.SET_NULL, null=True, blank=True) class Meta: diff --git a/app/gtd/templates/gtd/project_list.html b/app/gtd/templates/gtd/project_list.html index 252cdce..ba46b59 100644 --- a/app/gtd/templates/gtd/project_list.html +++ b/app/gtd/templates/gtd/project_list.html @@ -2,6 +2,7 @@ {% block primary %}