Skip to content
Snippets Groups Projects
Commit fb26c8b2 authored by magicfelix's avatar magicfelix
Browse files

Fix syntax

parent eb884448
No related branches found
No related tags found
No related merge requests found
Pipeline #196955 failed
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment