summaryrefslogtreecommitdiffstats
path: root/hyperkitty/lib/mailman.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-11-14 18:21:20 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-11-20 19:15:40 +0100
commit89406e71d9541396a48370d48e40f5e6c1e4a357 (patch)
tree8d86988020611f052909e4d3de0d8b66e7fb1b87 /hyperkitty/lib/mailman.py
parent9e5a71481101c611e5ebfe08cb7dd3b3dbc6601b (diff)
downloadhyperkitty-89406e71d9541396a48370d48e40f5e6c1e4a357.tar.gz
hyperkitty-89406e71d9541396a48370d48e40f5e6c1e4a357.tar.xz
hyperkitty-89406e71d9541396a48370d48e40f5e6c1e4a357.zip
Move error templates in their own directory
Diffstat (limited to 'hyperkitty/lib/mailman.py')
-rw-r--r--hyperkitty/lib/mailman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/lib/mailman.py b/hyperkitty/lib/mailman.py
index 090902b..4283e70 100644
--- a/hyperkitty/lib/mailman.py
+++ b/hyperkitty/lib/mailman.py
@@ -108,7 +108,7 @@ def check_mlist_private(func):
raise Http404("No archived mailing-list by that name.")
#return HttpResponse(request.session.get("subscribed", "NO KEY"), content_type="text/plain")
if not is_mlist_authorized(request, mlist):
- return render(request, "error-private.html", {
+ return render(request, "errors/private.html", {
"mlist": mlist,
}, status=403)
return func(request, *args, **kwargs)