You can clone with
(By Django debug view I have in mind the error page which is displayed on exception or similar.)
I'm not 100% sure the best way to do this but I'm absolutely open to patches fixing it.
probably monkey patch the csp_exempt decorator on top of them
disable CSP for django debug view Fixes #27
add test for django debug view csp exempt