reCaptcha works locally but not on PythonAnywhere -
locally on http://127.0.0.1:8000/ recaptcha works expected. when deployed pythonanywhere ("production") on form supposed work, "verify" (the label) nothing else.
i have used keys google in db.py as: gluon.tools import recaptcha auth.settings.captcha = recaptcha(request, '6lehlgmtaaaaapmanzsnaayabmbr8amc6bzjajsu', '6lehlgmtaaaaakcaa8nuqsmdpjpaah_cir40o7g')
i have added script google in layout.html , script google @ end of form recaptcha supposed be.
i know locally recaptcha not checking public/private keys, , may explain why works locally, still - doing incorrectly ?
ok...so issue on pythonanywhere side. once took care of whitelist - recaptcha works expected website hosted @ pythonanywhere. and....this feature part of free option (it used available paid sites). giles , conrad !
Comments
Post a Comment