diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2024-02-22 12:50:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-22 12:50:58 +0100 |
| commit | 901bdd96e0c3e9a96bcf34b15fbfda854d682e17 (patch) | |
| tree | 31bcbbc797c899c7c0c6d8c115fb1f4595900ddb /contact | |
| parent | 082c1acbc7eab9ce3a771216f166ae7f407a8329 (diff) | |
Upgraded to django-recaptcha 4.0.0.
Diffstat (limited to 'contact')
| -rw-r--r-- | contact/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contact/forms.py b/contact/forms.py index 617b2fa8..ccdd056c 100644 --- a/contact/forms.py +++ b/contact/forms.py @@ -1,13 +1,13 @@ import logging import django -from captcha.fields import ReCaptchaField -from captcha.widgets import ReCaptchaV3 from django import forms from django.conf import settings from django.contrib.sites.models import Site from django.utils.encoding import force_bytes from django_contact_form.forms import ContactForm +from django_recaptcha.fields import ReCaptchaField +from django_recaptcha.widgets import ReCaptchaV3 from pykismet3 import Akismet, AkismetServerError logger = logging.getLogger(__name__) |
