diff --git a/aleksis/core/models.py b/aleksis/core/models.py index 5555739d9cf7bc160311c55eb0f476e900445319..ec83113583cc2ae7ba240bfcd486f831944955b9 100644 --- a/aleksis/core/models.py +++ b/aleksis/core/models.py @@ -1437,7 +1437,7 @@ class PersonInvitation(AbstractBaseInvitation, PureDjangoModel): def send_invitation(self, request, **kwargs): """Send the invitation email to the person.""" # TODO: Use correct URL to new signup wizard - invite_url = f"{reverse("account_signup")}?invitation_code={self.key}" + invite_url = f"{reverse('account_signup')}?invitation_code={self.key}" invite_url = request.build_absolute_uri(invite_url).replace("/django", "") context = kwargs context.update(