K
K
KIN19912018-12-17 12:43:07
Django
KIN1991, 2018-12-17 12:43:07

How to send notifications to users who are offline in Django channels?

Hello!
The question is, I'm learning to use the Django Channels library, if the user is offline, how is it better for him to send notifications? So far, it comes to my mind only with the help of celery to send email to those users who are offline. Is there a way to somehow send unreceived websocket notifications to a user who was offline the next time they connect?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2018-12-17
@netpastor

Store them in a database and send them to him the next time he connects - the simplest thing that comes to mind

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question