I’m using Django’s comments framework. Whenever someone posts a comment he is redirected to a success page (posted.html). I don’t want a success page to show up. I just want the current page to be reloaded (with the new comment on it). How do I stop the redirection?
I’m using Django’s comments framework . Whenever someone posts a comment he is redirected
Share
Adding a hidden form field named
nextis the way to go, but you should userequest.get_full_pathbecauserequest.pathdoesn’t include query strings: