Build an absolute URL for abuse reports
This commit is contained in:
parent
350ab12fc4
commit
f48f9b00e9
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ class PhotoReportView(LoginRequiredMixin, DetailView):
|
||||||
if not gallery_slug:
|
if not gallery_slug:
|
||||||
url = reverse_lazy("photologue:pl-gallery-archive")
|
url = reverse_lazy("photologue:pl-gallery-archive")
|
||||||
url = reverse_lazy("photologue:pl-gallery", args=[gallery_slug])
|
url = reverse_lazy("photologue:pl-gallery", args=[gallery_slug])
|
||||||
|
url = request.build_absolute_uri(url)
|
||||||
|
|
||||||
# Send mail to managers
|
# Send mail to managers
|
||||||
mail_managers(
|
mail_managers(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue