Forums

Bad Request (400) Error

I have a Django web application deployed and it all runs fine. However when I go into settings.py and change DEBUG = True to DEBUG = False, reload the web app then go to the URL I get a Bad Request (400) error. Can anyone help me with this?

Here is the link to the active page: dreadnaught.pythonanywhere.com/TTT

Do you need to set ALLOWED_HOSTS? https://docs.djangoproject.com/en/1.7/ref/settings/#allowed-hosts

I got it, thanks!