'How can I refresh another page in Django?

Is there any way to refresh another page by clicking a button on the current page? (any way for the server to send a packet that makes every browser on a certain URL page refresh itself)

example:

127.0.0.1:8000/main -> a page that has the button

127.0.0.1:8000/list -> a page I want to refresh

My desktop web browser is currently on '/main' and my laptop web browser is currently on '/list'. How can I refresh my laptop web browser(to a newer version of the '/list' page) by clicking a button on the '/main' page on my desktop?

Is using websocket(like django-channels) the only way to do this work?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source