Answer the question
In order to leave comments, you need to log in
Django 3 which redirect to use? or in general is it a redirect??
There is a page with comments, the user leaves a comment, and the form sends to the specified url.py, in view.py it redirects back to the page with comments, and the list of comments is updated.
How to make it so that when submitting the form, the page is not completely updated, but only the list of comments that the loop goes through.
That is, the User sends a comment through the form. The form is added to the database, and only the block with comments is updated (not the entire page, but only this block)
How to implement it
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question