[Fixed]-How do I correctly return to details.html after updating using HttpResponseRedirect

1👍

You were redirecting to list url, but you want to redirect to detail instead?

return HttpResponseRedirect(reverse('posts:detail', args=id))

Leave a comment