Django refresh page if change data by other user
Posted
by
Fran Sobrino
on Stack Overflow
See other posts from Stack Overflow
or by Fran Sobrino
Published on 2011-11-12T17:33:12Z
Indexed on
2011/11/12
17:51 UTC
Read the original article
Hit count: 220
I have a test django app.
In one page the test show the same question to all users.
I'd like that when a user answers correctly, send a signal to other active user's browser to refresh to the next question.
I have been learning about signals in django I learning work with them but I don't now how send the "refresh signal" to client browser.
I think that it can do with a javascript code that check if a certain value (actual question) change and if change reload the page but I don't know this language and the information that I find was confused.
Can anybody help me?
Many Thanks.
© Stack Overflow or respective owner