Build a Microblog with Django - Webmonkey - 0 views
-
Well, it turns out there's a very powerful feature baked into Django which can handle the task for us.
-
Django includes an internal "dispatcher" which allows objects to listen for signals from other objects.
-
In our case, our tumblelog app is going to "listen" to our Entry and Link models. Every time a new Entry or Link is saved, those models will send out a signal. When the tumblelog app gets the signal it will automatically update itself.