1👍
You were redirecting to list
url, but you want to redirect to detail
instead?
return HttpResponseRedirect(reverse('posts:detail', args=id))
Source:stackexchange.com
1👍
You were redirecting to list
url, but you want to redirect to detail
instead?
return HttpResponseRedirect(reverse('posts:detail', args=id))