heroku - Why does setting debug to false in django settings stop app from loading in devlopment and production? -


in settings have set debug=false instead generated 500 error in both dev , production. looked around , came across (setting debug = false causes 500 error) , tried out.

allowed_hosts = ['www.heroku.com'] 

but did not work, not doing right? hosting heroku

your app not hosted on www.heroku.com. instead, try

allowed_hosts = [".herokuapp.com"] 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -