When I add a host to my {{{/etc/hosts}}} file and make a request to it.
When the host is {{{localhost}}}, I am seeing that
{{{request.META["SERVER_NAME"]}}} is coming out as {{{3cdd0c05c30d}}}.
This issue does not appear to be happening in production for the company
that I work for. I am currently running Django inside of Docker Compose.
--
Ticket URL: <https://code.djangoproject.com/ticket/32760>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
Can you explain where Django is at fault? Otherwise, I'm not sure there's
enough information here to debug your issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/32760#comment:1>
* status: new => closed
* resolution: => needsinfo
--
Ticket URL: <https://code.djangoproject.com/ticket/32760#comment:2>