Use Recaptcha2() I have an app with new web2py and recaptcha2 working like a charm.
Cheers. Chris El vie., 31 ago. 2018 9:48 a. m., Rahul <rahul.dhak...@gmail.com> escribió: > Hi All, > There seems to be an issue with latest version of web2py 2.17.1. I am > getting an exception like below for my project . However the same seems to > be working fine in web2py 2.15.3 but it gives the message shown in attached > image. > > <type 'exceptions.NameError'> global name 'Recaptcha' is not defined > > > File "web2py/applications/artpic/controllers/default.py", line 1759, in > register > crud.settings.create_captcha= Recaptcha(request, publickey, privatekey > ) > NameError: global name 'Recaptcha' is not defined > > Any idea ? > > Rahul > > -- > 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. > -- 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.