thiagocavaloti / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

Revamped python version including a decorator for the post handler #141

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This project saved me a ton of time so I thought I'd share my modifications.

I wasn't a fan of the implementation available on pypi so I renamed some 
things, cleaned up the code, and removed the cruft.

More importantly, I have implemented the verification function as a decorator 
so it can easily be attached to a POST response. There's no need to pollute 
your handlers with ReCaptcha code.

The code can be found here:
http://pastebin.com/U31KiQvg

Original issue reported on code.google.com by evanpla...@gmail.com on 2 Jun 2012 at 12:08

Attachments: