From 259737bc83b5bdb9e6aebb06af147f60eac63886 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 27 Jan 2024 15:50:29 -0600 Subject: gtd: added jump list to move through project detail views --- app/gtd/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/gtd/views.py') diff --git a/app/gtd/views.py b/app/gtd/views.py index 9643511..985fdf0 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -125,6 +125,8 @@ class GTDProjectDetailView(DetailView): def get_context_data(self, **kwargs): context = super(GTDProjectDetailView, self).get_context_data(**kwargs) + context['note_set'] = GTDNote.objects.filter(project=self.object).order_by('note_type') + context['projects'] = GTDProject.objects.all() return context -- cgit v1.2.3-70-g09d2