Unable to get Captcha

I already installed django-recaptcha and included captcha in the installed applications. I use the private key and public key from this page: https://github.com/praekelt/django-recaptcha .

I have included instructions captcha = ReCaptchaField(). When I clicked on the page, it looks like this:

Captcha: Input error: k: Invalid site key format

I don’t know where the error is. It is necessary to be guided.

html looks like this:

enter image description here

Here is what I typed:

RECAPTCHA_PRIVATE_KEY = '98dfg6df7g56df6gdfgdfg65JHJH656565GFGFGs'
RECAPTCHA_PUBLIC_KEY = '76wtgdfsjhsydt7r5FFGFhgsdfytd656sad75fgh'
RECAPTCHA_USE_SSL = True
+5
source share
3 answers

According to the following thread , including the private key and the public key around corrects this error. That is, use

RECAPTCHA_PUBLIC_KEY = '98dfg6df7g56df6gdfgdfg65JHJH656565GFGFGs'
RECAPTCHA_PRIVATE_KEY = '76wtgdfsjhsydt7r5FFGFhgsdfytd656sad75fgh'

, .

+1
+1

Enter the URL of your site without "http: //". without "www" without "/" (at the end of the website name). I mean just add the name of the site, for example, you can add "xyz.com". This will solve the problem.

https://www.google.com/recaptcha/admin#whyrecaptcha

0
source

All Articles