Ok...So the issue was on PythonAnywhere side.
Once the guys at PA took care of the whitelist - reCaptcha works as 
expected from the website hosted at PythonAnywhere.

And....this feature is now also part of the FREE option (it used to be 
available only for paid sites).

Thanks Giles and Conrad,
You are the best !
NeoToren


On Monday, March 16, 2015 at 9:26:44 PM UTC-4, NeoToren wrote:
>
> Locally on http://127.0.0.1:8000/ reCaptcha works as expected.
> When deployed to PythonAnywhere ("production") on the form it is supposed 
> to work, I get only the "Verify" (the label) but nothing else.
>
> I have used to keys from Google in db.py as:
> from gluon.tools import Recaptcha
> `auth.settings.captcha = Recaptcha(request,
>     '6LeHlgMTAAAAAPMaNZSNaaYabmbr8amc6BzjAjsu', 
> '6LeHlgMTAAAAAKCaa8nUQsmDPjpAAh_CIR40o7G')`
>
> I have added the script from Google in layout.html
> And another script from Google at the end of the form where reCaptcha is 
> supposed to be.
>
> I know that locally reCaptcha is not really checking the public/private 
> keys (as mentioned on StackOverflow), and that may explain why it works 
> locally, but still - what am I doing incorrectly ?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to