home / django_tickets / tickets

tickets: 8968

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8968 2008-09-08 15:57:01 2013-03-24 13:37:42 2022-03-06 03:43:39.010131 Accepted closed contrib.comments New feature Normal 1.0 wontfix No way to utilize `next` parameter to redirect after comment deletion How is default «delete comment» view from new comments system meant to get `next` argument (see `contrib/comments/views/moderation.py`)? I think good way to do it is to support `next` GET request parameter, so that one could use `/delete/123/?next=/blog/entry/bla-blah` as a link to comment deletion page in order to redirect to page other than default «deleted» view after actually removing the comment. This works with «post comment» because `next_redirect` in `post_comment` function can see the `next` POST parameter in `data`. This does not work with «delete comment» because confirmation page is rendered first with `next="None"` in confirmation form. kkubasik Dzhus comments 0 1 1 1 1 0
Powered by Datasette · Queries took 1.084ms