Easiest way you can see libraries like fcm_djnago or pyfcm. Those use cloud messaging by firebase and other providers.
On Sun, Mar 14, 2021, 09:20 Azharul Islam Somon < [email protected]> wrote: > > Good day! > I am working on real-time push notification using Django. > Now, i have seen few documentation, on sending push notification that's > fine. > > But, i want to send the notification which will send to the user from > server, for example > While we login and buy a product as like Udemy, coursera then, they send > some notification as general for all new users, then if any one upgrade > their packages then also get another > notification, which is pre defined. > > My asking is,"How to write those logic so that i can cover everything?" If > anybody has any good example or any link, i will be thankful to you . > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/57d31e38-e094-408d-b0f7-85b632178f08n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/57d31e38-e094-408d-b0f7-85b632178f08n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOecAnyvkaFkzk8V4usB5rv%2BjtUPtQwO34kO3dmQPQYcLA0x3Q%40mail.gmail.com.

