X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/143150bddf1a02498da0dcbdf0ad59d540c1519a..9b8e2e53b0f70f91868b4c16e130967c7da5a958:/forum/views/writers.py diff --git a/forum/views/writers.py b/forum/views/writers.py index 304032c..597ddba 100644 --- a/forum/views/writers.py +++ b/forum/views/writers.py @@ -98,7 +98,7 @@ def ask(request): if request.user.is_authenticated(): messages.info(request, _("Your question is pending until you %s.") % html.hyperlink( - reverse('send_validation_email'), _("validate your email") + django_settings.APP_URL + reverse('send_validation_email', prefix='/'), _("validate your email") )) return HttpResponseRedirect(reverse('index')) else: @@ -273,7 +273,7 @@ def answer(request, id): if request.user.is_authenticated(): messages.info(request, _("Your answer is pending until you %s.") % html.hyperlink( - reverse('send_validation_email'), _("validate your email") + django_settings.APP_URL + reverse('send_validation_email', prefix='/'), _("validate your email") )) return HttpResponseRedirect(question.get_absolute_url()) else: