From ca54949a0596503f264b425f7f5547664ee6eba6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 3 Dec 2023 15:52:25 -0500 Subject: gtd: fixed bug in editing wiredposts --- app/gtd/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/gtd') diff --git a/app/gtd/views.py b/app/gtd/views.py index 41a1d9f..c077d77 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -279,7 +279,7 @@ class WiredPostUpdateView(UpdateView): if 'add_new' in self.request.POST: return reverse('gtd:posts-create') else: - return reverse('gtd:posts-detail', kwargs={"pk": self.object.pk}) + return reverse('gtd:wiredpost-list') class GTDNoteDeleteView(DeleteView): -- cgit v1.2.3-70-g09d2