From c6b6bdf136497a863d6170467340e3f096ed64cc Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 17 Nov 2023 17:16:48 -0500 Subject: gtd: fixed a template title bug --- app/gtd/models.py | 2 ++ app/gtd/templates/gtd/note_list.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/gtd/models.py b/app/gtd/models.py index 28649c6..1ca0d6e 100644 --- a/app/gtd/models.py +++ b/app/gtd/models.py @@ -103,10 +103,12 @@ class GTDNote(models.Model): ACTION = 0 REMINDER = 1 REFERENCE = 2 + SOMEDAY = 3 NOTE_TYPE = [ (ACTION, 'Action'), (REMINDER, 'Reminder'), (REFERENCE, 'Reference'), + (SOMEDAY, 'Someday'), ] note_type = models.SmallIntegerField(choices=NOTE_TYPE, default=ACTION) reminder = models.BigIntegerField(help_text="In days", null=True, blank=True) diff --git a/app/gtd/templates/gtd/note_list.html b/app/gtd/templates/gtd/note_list.html index 1e5179e..5457443 100644 --- a/app/gtd/templates/gtd/note_list.html +++ b/app/gtd/templates/gtd/note_list.html @@ -10,7 +10,7 @@
{% for object in object_list %}