Answer the question
In order to leave comments, you need to log in
How to load content on click in Django?
Greetings, there was a need to pull up articles (on the page with 10 news, in order to show 10 more news) by clicking on "More news ..."
Can you please tell me how this can be implemented within Django?
Answer the question
In order to leave comments, you need to log in
Of the required:
Submit via pagination.
On page ajax request to get next batch of n+1 pages > read json_response from View > insert content below. If there is no further page, then do not add anything.
django-el-pagination is perfect for this, but you can also get confused and do as mentioned above
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question