Adding Google reCAPTCHA - Part 6

Getting the reCaptcha credentials

 

Go tohttps://www.google.com/recaptcha/admin/create

Label: websitename
reCAPTCHA type:Challenge(v2) "I'm not a robot" tickbox
Domains: jaimedcsilva.com (for my case)
Project name: select a name

Copy SITE KEY and SECRET KEY into your settings.py variables

 

RECAPTCHA_PUBLIC_KEY = SITE KEY
RECAPTCHA_PRIVATE_KEY = SECRET KEY

Python 3.12
Django==4.2
django-registration==3.3
django-recaptcha==3.0.0