SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 6c04ea3f authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix email url incomplete

parent 0db2884b
No related branches found
No related tags found
No related merge requests found
from django import forms
from django.core.mail import EmailMessage
from django.template.loader import render_to_string
from django.urls import reverse
from scipost.models import Contributor
......@@ -66,7 +65,7 @@ class VetThesisLinkForm(BaseRequestThesisLinkForm):
mail_params = {
'vocative_title': thesislink.requested_by.get_title_display(),
'thesislink': thesislink,
'full_url': thesislink.get_absolute_url()
'full_url': 'https//www.scipost.org{url}'.format(url=thesislink.get_absolute_url())
}
action = int(self.cleaned_data['action_option'])
......
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