How to achieve going to another page without refreshing after for example clicking a link to another URL. More examples, I have a list of books display and when I clicked on one of the book, it will redirect me to the selected book page. This is the example of the code link.
<a class="link" href="{% url 'books:view_book_detail' obj.book.name obj.pk %}">View book</a>
I know about the history.pushState()
but how to actually use it ? Can it be use with URL from Django. Are there any method else then stated ?