django recapcha

Solutions on MaxInterview for django recapcha by the best coders in the world

showing results for - "django recapcha"
Lina
22 Nov 2016
1captcha = fields.ReCaptchaField(
2    widget=widgets.ReCaptchaV2Checkbox(
3        attrs={
4            'data-theme': 'dark',
5            'data-size': 'compact',
6        }
7    )
8)
9# The ReCaptchaV2Invisible widget
10# ignores the "data-size" attribute in favor of 'data-size="invisible"'
11
María Alejandra
29 Jan 2017
1RECAPTCHA_PUBLIC_KEY = 'MyRecaptchaKey123'
2RECAPTCHA_PRIVATE_KEY = 'MyRecaptchaPrivateKey456'
3
Fabio
29 Jan 2016
1SILENCED_SYSTEM_CHECKS = ['captcha.recaptcha_test_key_error']
2
Heston
23 Feb 2019
1from django import forms
2from captcha.fields import ReCaptchaField
3
4class FormWithCaptcha(forms.Form):
5    captcha = ReCaptchaField()
6
Irene
17 Apr 2019
1RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:8000', 'https': 'https://127.0.0.1:8000'}
2
Roberto
07 Oct 2020
1from django import forms
2from captcha.fields import ReCaptchaField
3from captcha.widgets import ReCaptchaV2Invisible
4
5class FormWithCaptcha(forms.Form):
6    captcha = ReCaptchaField(widget=ReCaptchaV2Invisible)
7
Daniel
26 Jan 2019
1INSTALLED_APPS = [
2    ...,
3    'captcha',
4    ...
5]
6
Julian
27 Jan 2018
1RECAPTCHA_DOMAIN = 'www.recaptcha.net'
2
Hannah
29 Jun 2017
1captcha = fields.ReCaptchaField(
2    widget=widgets.ReCaptchaV2Checkbox(
3        api_params={'hl': 'cl', 'onload': 'onLoadFunc'}
4    )
5)
6# The dictionary is urlencoded and appended to the reCAPTCHA api url.
7
queries leading to this page
recapcha with djangodjango recapcha