Entries published on July 16, 2006
Django tips: Hacking FreeComment
Django’s bundled comments application (found in
django.contrib.comments) is incredibly useful; it gives you a nice, out-of-the-box system for adding comments to any site. But, if you look at it closely, really feels more like two applications:
Commentmodel and its helpers, which only allows registered user accounts to post comments.
FreeCommentmodel and its helpers, which allows anyone at all to post comments.
The first one — based around
Comment — is much more complex by far, and includes pretty much everything World Online has ever needed for ...