diff options
author | luxagraf <sng@luxagraf.net> | 2024-01-27 15:50:29 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-01-27 15:50:29 -0600 |
commit | 259737bc83b5bdb9e6aebb06af147f60eac63886 (patch) | |
tree | fb21e5c7064b30c88cb1f8d9abfec6a3f137af30 /app/gtd/views.py | |
parent | 4b2d0f06763345d45281f4d57ccdacbe1b0f1393 (diff) |
gtd: added jump list to move through project detail views
Diffstat (limited to 'app/gtd/views.py')
-rw-r--r-- | app/gtd/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |