Fix support for X-Accel-Redirect

This commit is contained in:
2026-01-05 14:39:45 +01:00
parent 9a469378df
commit 4ec7b8fc18
5 changed files with 68 additions and 2 deletions

View File

@@ -63,7 +63,12 @@ def get_items_ordering(config="items_ordering"):
class Render404(View):
def get(self, request, exception):
return render(request, "base.html", {"title": "404 page not found"})
return render(
request,
"base.html",
{"title": "404 page not found"},
status=404,
)
class GetData(View):