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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to