Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#19377 closed Cleanup/optimization (fixed)

Editing settings.py host and port on windows

Reported by: chadvernon@… 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)

19377.diff (2.6 KB ) - added by Tim Graham 11 years ago.
19377.2.diff (2.6 KB ) - added by Tim Graham 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Claude Paroz, 11 years ago

Triage Stage: UnreviewedAccepted

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.

comment:2 by chadvernon@…, 11 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 Tim Graham, 11 years ago

Attachment: 19377.diff added

comment:3 by Tim Graham, 11 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 Claude Paroz, 11 years ago

Mostly fine for me. What about linking to the HOST docs from the database docs?

by Tim Graham, 11 years ago

Attachment: 19377.2.diff added

comment:5 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In 0eed8ece320a8a0334c78abc43c82fdb9f1f9827:

Fixed #19377 - Emphasized database host link in tutorial

comment:6 by Tim Graham <timograham@…>, 11 years ago

In d92d9cf2aa15e70bcca8a3c9b2efa4ea8961ca4e:

[1.5.X] Fixed #19377 - Emphasized database host link in tutorial

Backport of 0eed8ece32 from master

Note: See TracTickets for help on using tickets.
Back to Top