Dariun
Dariun

Reputation: 347

Django - Send notification to user after new like

I'm searching for a method to notify an user if another user liked his/her post. For example instagram is giving you an alert: "this_user liked your post".

Is there a way to do with djangos integrated messages framework? So far I got the logic for like a post (simple post request). I want to send the notification to the author of the post so after post.save() method.

Someone know how to do?

Upvotes: 0

Views: 498

Answers (1)

Mukhtor Rasulov
Mukhtor Rasulov

Reputation: 587

You can't use messages framework for notify, messages works in request/response cycle. maybe onesignal is useful in your case.

onesignal-sdk is a python client library

Upvotes: 1

Related Questions