I get Bad Request (400) on my localhost when my DEBUG = False. Even I configured ALLOWED_HOSTS. I have been searching all over stackoverflow but still can't find the source of the problems.
DEBUG = False
ALLOWED_HOSTS = ['localhost','127.0.0.1']
I get Bad Request (400) on my localhost when my DEBUG = False. Even I configured ALLOWED_HOSTS. I have been searching all over stackoverflow but still can't find the source of the problems.
DEBUG = False
ALLOWED_HOSTS = ['localhost','127.0.0.1']