O'Reilly logo

Learning Django Web Development by Ratan Kumar, Sanjeev Jaiswal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The subscription system

We offer several web feeds that enable users to monitor updates on our website. However, some users may still prefer the old way of monitoring updates via e-mail. For those users, you may want to implement an e-mail subscription system to the application. For example, you can let users receive notifications when a bookmark is posted by a friend, or when a bookmark is posted under a certain tag.

Furthermore, you can group such notifications and send them in batches to avoid sending a large number of e-mails. The implementation details of this feature greatly depends on how you want it to work. It can be as simple as a data model that stores the tags that each user is subscribed to. It would have a loop that goes through all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required