#19377 closed Cleanup/optimization (fixed)
Editing settings.py host and port on windows
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The documentation says to leave HOST and PORT as empty strings to use the localhost. I did that on Windows 7 64 bit and it couldn't connect when I ran "python manage.py syncdb". When I filled in the values with 127.0.0.1 and 3306, then it was able to run. So a note might be nice for Windows users.
Attachments (2)
Change History (8)
comment:1 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 12 years ago
A note in the tutorial would be nice too since that's what I was following: https://docs.djangoproject.com/en/1.4/intro/tutorial01/
by , 12 years ago
Attachment: | 19377.diff added |
---|
comment:3 by , 12 years ago
Has patch: | set |
---|
I regret adding that note in the database specific docs as I think it's probably best not to duplicate the note we have in settings.
comment:4 by , 12 years ago
Mostly fine for me. What about linking to the HOST docs from the database docs?
by , 12 years ago
Attachment: | 19377.2.diff added |
---|
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
We have recently added such a note in databases docs (249c3d730e632b3c5b8c2bf5e6e871d61df15c6c). I guess we should add a similar note in the settings docs, or even better, add a link to the databases docs.