title: Why does setting debug to false in django settings stop Heroku app from loading in development and production?
body: <p>In my settings i have set <code>DEBUG=False</code> but this instead generated a 500 Error in both dev and production. so i looked around and came across this (<a href="https://stackoverflow.com/questions/15128135/django-setting-debug-false-causes-500-error">Setting DEBUG = False causes 500 Error</a>) and tried it out.</p>
  
  <pre><code>ALLOWED_HOSTS = ['www.heroku.com']
  </code></pre>
  
  <p>But this did not work, what am i not doing right? Am hosting with heroku</p>