D
D
Dim4os2016-04-15 23:26:57
Django
Dim4os, 2016-04-15 23:26:57

How to send and receive messages in Django?

(Newbie) There is a page that displays sent and sent messages. But when the first user sends a message, the second one has to refresh the page to display the information. So, how to make the page auto-refresh when data is added to the model?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Kitaev, 2016-04-16
@deliro

AJAX, Long Polling, WebSocket.
The first is simple.

D
Dim4os, 2016-04-15
@Dim4os

Sorry for the wrong question

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question