Django + Pythonanywhere: How to disable Debug Mode
I Figured it out, thanks for the hint Mr. Raja Simon.
In my PythonAnywhere Dashboard on Web Tab. I set something like this..
URL             /media/     
Directory   /home//media_cdn
*media_cdn is where my images located.
I am using Django and PythonAnywhere, and I want to make the DEBUG to False. But when I set it to False and make ALLOWED_HOSTS = ['*'], it works fine. But the problem is the media (or the images) is not displaying. Anyone encounter this and know how to resolve it?