Questions tagged [django-recaptcha]

Django reCAPTCHA is an integration of google reCAPTCHA with Django to be used as a field and a widget. It uses a modified version of the Python reCAPTCHA client.

Django reCAPTCHA is an integration of google reCAPTCHA with Django to be used as a field and a widget. It uses a modified version of the Python reCAPTCHA client.

14 questions
4
votes
1 answer

Django-recaptcha always showing "This field is required." even-tough it is there

I am trying to use Recaptcha v3 in one of my projects. Unfortunately the form.valid_date() method fails all the time with "This field is required.". Running django-recaptcha. forms.py looks like this: class AccountForm(forms.ModelForm): # adding…
David
  • 646
  • 1
  • 7
  • 27
3
votes
1 answer

how to validate django-recaptcha with ajax form in django

I have a small contact form that is submitted via ajax. I added a recaptcha using the django-recaptcha module. When the form is validated it looks like the captcha field is missing, because an error message is added to the captcha-field in the…
Rockbot
  • 935
  • 1
  • 6
  • 24
3
votes
1 answer

Display google recpatcha at the end of the form django-allauth app

I am creating a signup form using django(1.10) allauth app. I have installed django-recaptcha app from - https://github.com/praekelt/django-recaptcha The captcha is working but it is showing after the field 'Organisation' as I am calling the module…
Prithviraj Mitra
  • 11,002
  • 13
  • 58
  • 99
2
votes
2 answers

How to override external app template in Django?

I tried overriding a django-recaptcha template without any luck. What am I doing wrong? I am aware of Override templates of external app in Django, but it is outdated. Thanks! django-recaptcha file…
konichiwa
  • 532
  • 1
  • 5
  • 23
2
votes
3 answers

New Google ReCAPTCHA with django-recaptcha

Is there an easy way to adapt the django-recaptcha plugin for using the new google re-captcha API? I already changed the template and the captcha gets displayed in the write way but the validation is not working. Has anybody an idea how I can fix…
user2925688
  • 217
  • 1
  • 11
2
votes
1 answer

django-recaptcha doesn't validate the input

I am trying to integrate django-recaptcha with django-registration. I have already make sure that the django-registration works. Then I install and configure django-recaptcha according to its document (django-recaptcha 0.0.6). I add the captcha =…
user1817188
  • 487
  • 1
  • 7
  • 14
1
vote
1 answer

Implementing django-recaptcha in Django project with a custom user and django-allauth

I need help implementing django-recapcha in a Django project that has a custom user and also has django-allauth. When I first set up this project I set up a custom user, as it is the recommendation from the official Django…
1
vote
0 answers

Issues sending email with django-recpatcha and django-crispy-forms

I'm trying to set up a Contact Form on a client website using the django-recaptcha app and django-crispy-forms. My form data isn't passing is_valid() on POST and I can't figure it out. Any help would be greatly appreciated! (Running Django 3.11 on…
0
votes
0 answers

How to install django-recaptcha in cpanel?

I tried to install django-recaptcha in cpanel but so error Unable to find from captcha.fields import ReCaptchaField Here is my code in django form.py from django import forms from captcha.fields import ReCaptchaField from captcha.widgets import…
Mariya
  • 1
  • 1
0
votes
0 answers

django-recaptcha error

*I implemented Google's reCAPTCHA to my site with the django-recaptcha plugin. All works well. But when I validate the captcha and launch the form I get this error . I would like to know how to…
0
votes
0 answers

Django Recaptcha returning assignment error

I am trying to implement Django Recaptcha using this package: https://github.com/praekelt/django-recaptcha This is my forms.py class SignupForm(forms.ModelForm): captcha = ReCaptchaField(widget=ReCaptchaV2Invisible) name =…
Rutnet
  • 1,533
  • 5
  • 26
  • 48
0
votes
1 answer

django-recaptcha returning "Error: Missing required parameters: sitekey"

I followed the django-recaptcha directions to add a field to my contact form. When it renders (in my local test), it has a field that says "Captcha:" but no actual captcha rendered. The dev console in chrome says Uncaught Error: Missing required…
dfrankow
  • 20,191
  • 41
  • 152
  • 214
0
votes
2 answers

Can i make google reCaptcha 2.0 only show the checkbox every time

I'm working on a voting application where people can vote as many times as they want, and i would like to have a reCaptcha checkbox in it, but rather than making people have to fill check the images thingy after a few votes, i'd rather have them…
0
votes
1 answer

Installing django-recaptcha

I am trying to install django-recaptcha. I typed pip install django-recaptcha==0.0.4 I am not able to install it. The error i face is this: error: could not create '/Library/Python/2.7/site-packages/captcha': Permission…
lakshmen
  • 28,346
  • 66
  • 178
  • 276