Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Django 中创建了一个 Todo Web 应用程序,并将其部署在 Heroku 上。我想知道如何在浏览器中推送通知以获取即将到来的任务。提前致谢。
您应该使用 Django 的 websockets 和异步功能,以便能够在它们发生时推送实时通知。基本的 http 协议没有给你这样的功能。