From 78e20a68b5780b5aaaa61a7ddf5d9d8738c81c1a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 16 Nov 2023 11:04:04 -0500 Subject: gtd: fixed a redirect url --- app/gtd/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/gtd/views.py b/app/gtd/views.py index 67a8b4e..fc96187 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -142,9 +142,9 @@ class WiredNoteCreateView(CreateView): return reverse('gtd:wirednotes-create') else: if self.object.post: - return reverse('gtd:post-detail', kwargs={"pk": self.object.post.pk}) + return reverse('gtd:wiredpost-detail', kwargs={"pk": self.object.post.pk}) else: - return reverse('gtd:wirednotes-create') + return reverse('gtd:wirednotes-list') class WiredNoteUpdateView(UpdateView): -- cgit v1.2.3-70-g09d2