Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Bad request" after changing settings: "DEBUG = False" #185

Closed
svengineer opened this issue Aug 30, 2015 · 3 comments
Closed

"Bad request" after changing settings: "DEBUG = False" #185

svengineer opened this issue Aug 30, 2015 · 3 comments
Milestone

Comments

@svengineer
Copy link

After changing the settings from "DEBUG = True" to "DEBUG = False" I'm always getting a "Bad request". It's not important for me but an unexpected behavior.

@rolandgeider rolandgeider added this to the 1.7 milestone Aug 30, 2015
@rolandgeider
Copy link
Member

The error in the command line is: Invalid HTTP_HOST header: 'localhost:8000'. You may need to add u'localhost' to ALLOWED_HOSTS.

I think a note in the documentation and a comment in the generated settings should be enough for this.

@rolandgeider
Copy link
Member

Should be done after #184

@rolandgeider
Copy link
Member

Allowed hosts is now set to * when creating new settings, should fix this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants