diff options
Diffstat (limited to 'app/gtd/views.py')
-rw-r--r-- | app/gtd/views.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/gtd/views.py b/app/gtd/views.py index a3b7eab..2a95925 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -57,6 +57,14 @@ class GTDNoteListView(ListView): return context +class GTDNoteTODOView(ListView): + model = GTDNote + template_name = "gtd/note_list.html" + + def get_queryset(self): + return GTDNote.objects.filter(status=1) + + class GTDProjectCreateView(CreateView): model = GTDProject form_class = GTDProjectCreateForm @@ -116,14 +124,6 @@ class GTDProjectDeleteView(DeleteView): template_name = "gtd/confirm_delete.html" -class GTDNoteTODOView(ListView): - model = GTDNote - template_name = "gtd/note_list.html" - - def get_queryset(self): - return GTDNote.objects.filter(status=1) - - class WiredNoteCreateView(CreateView): model = WiredNote form_class = WiredNoteCreateForm |