Anonymous Comments Now Available

Posted in Django on September 22nd, 2009 by Stephen DeGrace Link

I changed my implementation of the comments framework to allow anonymous comments, although I enhanced it by requiring a reCAPTCHA-based Captcha for anonymous posters.

I like reCAPTCHA - I've found it very reliable, it's incidentally doing something very positive, and best of all, it fits right in with my colour scheme without any tweaking. The API is really easy and it keeps me from having to roll my own or something.

I think most people don't want to have to log in to leave a comment. I know I don't have a lot of visitors, but I'm hoping anonymous comments might get me a little bit of feedback (hopefully not hate mail!).

My moderation is about the same as before. Comments generate an email to admin, and logged in users can flag comments, which also generates an email to admin. However, instead of using my previous moderation system, which was tied to the comment_was_posted signal and was universal across models without having to register the particular model, I started using the new built-in moderation framework.

That was motivated by two things - partly I just wanted to try it out, and partly I had it in my mind that in the future this form of moderation might allow me to tune my moderation based on the model, should I ever want to do that.

As part of that I updated my home Django to version 1.1 and I checked out svn for my production site (!).

I did this by checking out a copy of my trunk, making the changes, and commiting them back, rather than using my "official" working copy. I'm now going to merge the changes into my dev branch.

The dev branch has much more extensive changes, including a refback-based trackback system and a wholesale switch to jQuery for all behavior site-wide. The administrative portion of the refback system will be based in the front end, not the Django admin and will utilize a lot of Ajax.

Now I'll see if the svn merge works well for me...

 

Comments:

There are 4 comments on this item.

On October 7th, 2009 Michelle Knott wrote:

I decided not to be anonymous! But I don't really understand the tech lingo!

On October 7th, 2009 Stephen DeGrace Link wrote:

OMG someone is actually reading this! :)

On October 16th, 2009 Michelle Knott wrote:

I LOVED your review of Hunters!! So true about the fries!!! You should do more reviews around town.

On October 16th, 2009 Stephen DeGrace Link wrote:

Haha thanks :). Maybe I will... I want to check out that Globe World Food place soon, maybe I'll write a review.

Post a Comment

* :
* :
:
:

* Required field, your email will not be posted.