diff --git a/contact/forms.py b/contact/forms.py index deb0d4bb3..617b2fa83 100644 --- a/contact/forms.py +++ b/contact/forms.py @@ -3,11 +3,11 @@ import django from captcha.fields import ReCaptchaField from captcha.widgets import ReCaptchaV3 -from contact_form.forms import ContactForm 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 pykismet3 import Akismet, AkismetServerError logger = logging.getLogger(__name__) diff --git a/contact/views.py b/contact/views.py index eb6e85ed3..76291977b 100644 --- a/contact/views.py +++ b/contact/views.py @@ -1,5 +1,5 @@ -from contact_form.views import ContactFormView from django.urls import reverse +from django_contact_form.views import ContactFormView from .forms import FoundationContactForm diff --git a/requirements/common.txt b/requirements/common.txt index f38514998..8fa52e48c 100644 --- a/requirements/common.txt +++ b/requirements/common.txt @@ -1,5 +1,5 @@ Babel==2.10.1 -django-contact-form==1.9 +django-contact-form==2.1 django-countries==7.5.1 django-hosts==5.1 django-money==2.1.1