mirror of
https://github.com/daniviga/django-ram.git
synced 2026-02-04 10:00:40 +01:00
Fix support for X-Accel-Redirect
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user