callowayproject/django-pollit — pull request #3 by finkedave (2012-07-17 20:07:21+00:00)
Title: Bot prevention and ability to vote without being logged in

Added functionality to turn off having to be logged in to vote. To make sure one can only vote once, an IP field has been added via south migration. So if in your settings file you say AUTHENTICATION_REQUIRED=False. Then each IP gets one vote. Hopefully this helps with keeping bots from voting also.

Another thing added to try to keep bots from voting, since their is the option of not being logged in is .
CHECK_FOR_BOTS in the settings file. If this is true the form being submitted must have fields in the request (Untouched). Most bots will just fill out all fields.

If these fields are changed at all the view will not let the request go though.

Then to keep these fields from being shown to the user. The html page will just have style

Let me know if you see any problems with my approach. Washingtontimes wants to have users be able to vote without being logged in but also doesn't want bots to ruin the polls.

thanks
Dave