Opened 2 years ago

Closed 2 years ago

Last modified 2 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 timo 2 years ago.
19377.2.diff (2.6 KB) - added by timo 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 Changed 2 years ago by chadvernon@…

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/

Changed 2 years ago by timo

comment:3 Changed 2 years ago by timo

  • 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 Changed 2 years ago by claudep

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

Changed 2 years ago by timo

comment:5 Changed 2 years ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 0eed8ece320a8a0334c78abc43c82fdb9f1f9827:

Fixed #19377 - Emphasized database host link in tutorial

comment:6 Changed 2 years ago by Tim Graham <timograham@…>

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