简体   繁体   English

使用Django推送通知

[英]push notification using Django

I am very new to Django and am looking into research and development for a project that will push my availability and rates for a given resort to a list of subscribed clients based on the resort IDs that they have chosen to subscribe to. 我是Django的新手,正在研究一个项目的研发,该项目将根据他们选择订阅的度假胜地ID将给定度假胜地的可用性和价格推到已订阅客户列表中。 I know this is possible with sql server and windows services but how is something like this (if possible) done in django? 我知道这对于SQL Server和Windows服务是可能的,但是如何在Django中完成这样的事情(如果可能的话)? can the CMS handle configuration for all this? CMS可以处理所有这些配置吗? I saw this: Tastypie 我看到了: Tastypie

but not sure where to look in here for what I am after. 但不确定在哪里寻找我想要的东西。

Anybody have experience with push notifications via django? 有人有通过django进行推送通知的经验吗? would be grateful for any pointers 对于任何指针将不胜感激

I see alot of questions for pushing to android system and iphone but I just want a simple push to a given url. 我看到很多有关推送到android系统和iphone的问题,但我只想简单推送到给定的url。

Have a look into the Signals topic on the documentation . 看一下文档中的Signals主题。

@receiver(post_save, sender=MyModel) 
def my_handler(sender, **kwargs): 
    ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM