[英]Push notification in django rest
I am working on a attendance registration system where a user of an office can make a leave request. 我正在使用一个出勤登记系统,办公室的用户可以提出请假申请。 When any user makes a leave request, it must be notified to admin.
当任何用户提出请假请求时,必须将其通知管理员。 How do I implement it ?
我该如何实施?
I had seen django-fcm for push notification. 我已经看到django-fcm用于推送通知。 But I am using django rest framework .
但是我正在使用django rest框架。 Can I implement django-fcm with django rest ?
我可以用django rest实现django-fcm吗?
If any tutorials link would be more helpful 如果有任何教程链接会更有用
这不是很难,克隆fcm-django-web-demo项目并尝试在Django shell中进行编码...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.