Skip to content

Conversation

@BumbaggioBenenbaum
Copy link

The code in the book (and here) contains a bug - after posting a comment, refreshing the page (F5) causes the same comment to be posted again, as many times as we refresh. A solution to this problem could be a HttpResponseRedirect using the respective post's get_absolute_url.

The code in the book (and here) contains a bug - after posting a comment, refreshing the page (F5) causes the same comment to be posted again, as many times as we refresh. A solution to this problem could be a HttpResponseRedirect using the respective post's get_absolute_url.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant