Django: Redirect to current article after comment post -


I am trying to use comments in my project.

I have the code ({% Render_comment_form, incident%}), shown in the document given here:

And the question is that after the submission, the form is same Redirect to the page.


Apart from this, the big question is: If at present we have received an error for this, then we have been redirected to preview the template. Is it possible to avoid this behavior and display errors in the same manner (on the same page)?


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -