title: How to test 500.html error page in django development env?
body: <p>I am using Django for a project and is already in production.</p>
  
  <p>In the production environment 500.html is rendered whenever a server error occurs.</p>
  
  <p>How do I test the rendering of 500.html in dev environment? Or how do I render 500.html in dev, if I turn-off debug I still get the errors and not 500.html</p>
  
  <p>background: I include some page elements based on a page and some are missing when 500.html is called and want to debug it in dev environment. </p>