Since the first day I started working with Django in January of 2006, Jacob told me that the comments app would be rewritten before Django 1.0. It’s become something of a joke to me. Whenever someone says a feature is coming in a future version of Django, I throw out the classic, “oh yeah, along with the comments app refactor, right?”

Well today, that vaporware solidified into something real. The new version is documented, combines the old Comment and FreeComment models, and makes use of all the modern Django APIs that didn't exist when the first version was written. It looks quite nice.

I’m really curious to see just how many people who already have comments on their Django site go to the trouble of switching to the new app. I know I probably won’t. The trouble is, the old app was so — well, old — that almost everyone has written their own, or adopted something like Eric’s django-threaddedcomments. While it looks like it’s pretty easy to upgrade from the old comments app, I’m not sure anyone is really using the old comments app — and switching from custom apps, like the one I’ve written, wouldn’t be nearly as easy.

I think I’ll use the new django.contrib.comments going forward for sites that it feels appropriate for, and I'll probably steal a few ideas from it for my own comments app -- but migrating jeffcroft.com to it just seems like more trouble than it's worth.

That’s definitely not a dig on the new system though — like I said, it looks very nice. Kudos go to Thejaswi Puthraya, who did most of the works on the new system as part of Google’s Summer of Code, and Jacob Kaplan-Moss, who I know has had this thing on his radar for a very, very long time.

Visit site:

http://code.djangoproject.com/browser/django/trunk/django/contrib/comments

Comments

  1. 001 // patrick91 // 09.09.2008 // 7:46 AM

    mhm, Is it good for building a forum?

    Thanks :)

  2. 002 // a // 11.09.2008 // 8:40 PM

    sorry

Post your comment