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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -