Initialize clean CSR inventory repository
This commit is contained in:
13
inventory/error_views.py
Normal file
13
inventory/error_views.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
|
||||
def permission_denied(request, exception=None):
|
||||
return render(request, "403.html", status=403)
|
||||
|
||||
|
||||
def not_found(request, exception=None):
|
||||
return render(request, "404.html", status=404)
|
||||
|
||||
|
||||
def server_error(request):
|
||||
return render(request, "500.html", status=500)
|
||||
Reference in New Issue
Block a user