#36514: Improve ALLOWED_HOSTS error message: show both values
------------------------------------+--------------------------------------
Reporter: Klaas van Schelven | Owner: (none)
Type: New feature | Status: closed
Component: HTTP handling | Version: 5.2
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+--------------------------------------
Comment (by Klaas van Schelven):
[https://stackoverflow.com/a/41755231/339144 this is a pretty good example
of the danger I'm talking about] with 40 upvotes on Stackoverflow:
>literally as the error suggested! go ahead and add the line
>0.0.0.0 to the ALLOWED_HOSTS in your settings.py
--
Ticket URL: <https://code.djangoproject.com/ticket/36514#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/010701982e521a9f-5653198b-4e52-4e29-8534-9cff2d8453c7-000000%40eu-central-1.amazonses.com.