diff options
author | luxagraf <sng@luxagraf.net> | 2023-11-16 11:04:04 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-11-16 11:04:04 -0500 |
commit | 78e20a68b5780b5aaaa61a7ddf5d9d8738c81c1a (patch) | |
tree | 43f1719ec56208fff7fd3e6787e90289fd886eb6 /app/gtd/views.py | |
parent | 0f22706a89767b3d9e73674f21dd77eb9abe9429 (diff) |
gtd: fixed a redirect url
Diffstat (limited to 'app/gtd/views.py')
-rw-r--r-- | app/gtd/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |