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

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -