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"]