Skip to content

Commit

Permalink
Merge pull request #1 from torchbox-forks/fix/django_recaptcha
Browse files Browse the repository at this point in the history
Linting, replace captcha instance in settings.py
  • Loading branch information
nimasmi committed Nov 23, 2023
2 parents 3010ab9 + 4cb89db commit 216f3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_forms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import absolute_import, unicode_literals

from django_recaptcha.fields import ReCaptchaField
from django.test import TestCase
from django_recaptcha.fields import ReCaptchaField
from home.models import TestCaptchaEmailFormField

from wagtailcaptcha.forms import WagtailCaptchaFormBuilder
Expand Down
2 changes: 1 addition & 1 deletion tests/testapp/testapp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

# Silence some errors
SILENCED_SYSTEM_CHECKS = ["captcha.recaptcha_test_key_error"]
SILENCED_SYSTEM_CHECKS = ["django_recaptcha.recaptcha_test_key_error"]
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

try:
Expand Down

0 comments on commit 216f3b7

Please sign in to comment.