django-cruds-adminlte icon indicating copy to clipboard operation
django-cruds-adminlte copied to clipboard

Fix blank page on 403 (Forbidden)

Open Lionqueen94 opened this issue 6 years ago • 0 comments

Hi there,

There is one return HttpResponseForbidden() in crud.py. This just gives a blank page instead of an actual error page. Could this be changed to either: return HttpResponseForbidden(render(request, '403.html')) or: raise PermissionDenied To use the django 403.html template or a custom one.

Thanks!

Lionqueen94 avatar Apr 30 '18 14:04 Lionqueen94