Has any of you ever experienced a server error on django app hosted in heroku when you set your debug to False. When the debug is True, it runs well. I've checked my allowed hosts and it's okay. Can it be a problem with static files? How do i solve this error?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Yep! Not on Heroku but I've experienced it a lot. For me, it's usually a problem somewhere in my templates, like a URL for a static file that contains a slash that works in dev but not in production. Or it could be 'allowed hosts' that might include the wrong format.
Ooh okay thanks, I'll look at my templates..