From 60c9071510f037352fe2de20c9416ca485460f95 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Tue, 13 Nov 2018 10:17:07 +0100 Subject: [PATCH] Fix syntax error --- scipost/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost/fields.py b/scipost/fields.py index 2b6b26a43..eea67bdc9 100644 --- a/scipost/fields.py +++ b/scipost/fields.py @@ -51,7 +51,7 @@ class ReCaptchaField(forms.CharField): self.use_ssl = getattr(settings, 'RECAPTCHA_USE_SSL', True) self.widget = ReCaptcha(public_key=public_key, attrs=attrs) self.required = True - self. = 'https://www.recaptcha.net/recaptcha/api/siteverify' + self.verify_url = 'https://www.recaptcha.net/recaptcha/api/siteverify' super().__init__(*args, **kwargs) def clean(self, values): -- GitLab