基于Django的微博
我想建立一个通知系统,该系统将在同一位置向用户提供有关以下事件的更新
- 当有人发送私人消息时
- 当有人在他们的博客上发表评论时
- 当有人评论他们的帖子时
- 如果用户选择“关注”某人,则向他们提供有关其活动的最新信息
我还想制作一个通用的微博,它将提供有关以下内容的随机更新人们正在做的事情,比如他们写的博客、他们写的教程、已经发布的新问题。
我有博客、问题、评论等的个人模型。但我不知道如何实施通知系统。我已经在 Django 中实现了该系统
I would like to build a notification system that will give updates to the user regarding the following events all at the same place
- When somebody sends a private message
- When somebody comments on their blog
- When somebody comments on their post
- If a user has selected to 'follow' somebody then give them updates about their activity
I would also like to make a generic MicroBlog that will give random updates about things people are doing like, blogs they have written, tutorials they have written, a new question that has been posted.
I have individual models for blogs, questions, comments and so on. But I do not know how too implement the notification system. I have implemented the system in Django
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从你的用词来看,我想说你还没有深入了解 django-notification 或django-notify:这两个都可能会满足您的需求。
Judging by you choice of words, I'd say you haven't yet dived into django-notification or django-notify: both of these will likely scratch your itch.
请参阅 django-notification
see django-notification