Great example of how badass the Django signals framework is. Basically, it lets you inject code upon some event happening, such as an object being saved, deleted, or in this case, a comment being posted. I use signals throughout Savoy, such as to geolocate an object as its saved, and to add a tumblelog object when particular types of content are saved. It’s good stuff. This example also uses Django’s brand-spanking new comments framework.

Visit site:

http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/

Comments

No one has posted any comments on this entry as of yet. Perhaps you’d like to be the first?

Post your comment