i'm currently working on app where users can send messages to each other and also receive some notifications from server. I'm using bootstrap's glyphicons and badges for indication that user have unread messages. Here is screenshot:
问题是,只有当用户自己重新加载或加载新页面时我才能更新它。 我想要的是发送有关新消息或通知的实时通知。因此,用户无需重新加载页面即可获取有关新消息的通知。
我怎样才能做到这一点?对于开发,我使用 Django 框架。提前致谢!
None