Skip to content

Commit

Permalink
updated recaptcha namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandravaphilips committed Sep 16, 2024
1 parent f4fddbe commit edf7de7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions indigo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
'allauth.socialaccount',
# installations should include social account providers, such as
# allauth.socialaccount.providers.google
'captcha',
'django_recaptcha',

'django.contrib.sites',
'django.contrib.admin',
Expand Down Expand Up @@ -433,7 +433,7 @@
RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY', '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe')
if DEBUG:
# don't complain about the test keys
SILENCED_SYSTEM_CHECKS = ['captcha.recaptcha_test_key_error']
SILENCED_SYSTEM_CHECKS = ['django_recaptcha.recaptcha_test_key_error']


DATA_UPLOAD_MAX_NUMBER_FIELDS = 10000
Expand Down
2 changes: 1 addition & 1 deletion indigo_app/forms/users.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from allauth.account.forms import SignupForm
from captcha.fields import ReCaptchaField
from django_recaptcha.fields import ReCaptchaField
from django import forms
from django.conf import settings
from django.utils.translation import gettext_lazy as _
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies = [
"django-htmx>=1.15.0",
"django-languages-plus>=1.1.1",
"django-pipeline>=1.6.11,<3.1.0",
"django-recaptcha>=3.0.0,<4.0.0",
"django-recaptcha>=4.0.0",
"django-reversion>=3.0.9",
"django-sass-processor>=1.1",
"django-sass-processor-dart-sass>=0.0.1",
Expand Down

0 comments on commit edf7de7

Please sign in to comment.