Adding Google Recapthca - 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


06 Sept. 2024 | Last Updated: 22 Nov. 2025 | jaimedcsilva

Related
  • Django Registration + Django Auth - Part 1
  • Django Registration + Django Auth - Part 2
  • Django Registration + Django Auth - Part 3
  • Django Registration + Django Auth - Part 4
  • Adding Google reCapthca - Part 5
  • Adding Google Recapthca - Part 6

  • Buy Me a Coffee