#9920: Empty string is not the same as typing "localhost" in DATABASE_HOST in
settings.py
------------------------------------+---------------------------------------
Reporter: crazy2k | Owner: nobody
Status: reopened | Milestone:
Component: Uncategorized | Version: 1.0
Resolution: | Keywords: postgresql host localhost
empty
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by alanjds):
* cc: [email protected] (added)
* status: closed => reopened
* resolution: wontfix =>
Comment:
Replying to [comment:7 jacob]:
> Marking wontfix per moberley and Malcolm.
Sorry by reopening what a commiter closed, but 'localhost' is for me a
reminder of network connection to 127.0.0.1
The comment as now with 'localhost' suggests me that something like this
occours behind the scenes:
{{{
if DATABASE_HOST == '':
DATABASE_HOST = 'localhost'
}}}
who is simple not true.
What about changing from "Set to empty string for localhost." to "Set to
empty string for local host (via file socket)." ?
At least, I ask you to allow a change from 'localhost' to 'local host'.
--
Ticket URL: <http://code.djangoproject.com/ticket/9920#comment:8>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.