diff --git a/photologue/views.py b/photologue/views.py index 0b245ec..826f747 100644 --- a/photologue/views.py +++ b/photologue/views.py @@ -87,6 +87,7 @@ class PhotoReportView(LoginRequiredMixin, DetailView): if not gallery_slug: url = reverse_lazy("photologue:pl-gallery-archive") url = reverse_lazy("photologue:pl-gallery", args=[gallery_slug]) + url = request.build_absolute_uri(url) # Send mail to managers mail_managers(