Opened 17 years ago

Closed 17 years ago

#4307 closed (fixed)

Unclear location of ROOT_URLCONF in tutorial 3

Reported by: rogerpack2005@… Owned by: Jacob
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In tutorial 3 it says that "When you ran python manage.py startproject mysite at the beginning of Tutorial 1, it created a default URLconf in mysite/urls.py. It also automatically set your ROOT_URLCONF setting to point at that file:

ROOT_URLCONF = 'mysite.urls'

"
in reality we ran "django-admin.py startproject mysite"
and it did not set up a default ROOT_URLCONF.

Change History (5)

comment:1 by rogerpack2005@…, 17 years ago

Oops I was confused. What it failed to mention was that ROOT_URLCONF is automatically setup "in settings.py" -- I thought it was auto set up in urls.py, as the documentation made me think it was. thanks!

comment:2 by Chris Beaven, 17 years ago

Summary: typo in tutorial 3Unclear location of ROOT_URLCONF in tutorial 3
Triage Stage: UnreviewedAccepted

Thanks for the report Roger. While the implicit wording of "setting" makes it obvious to veterans, you bring up a good point that it could be said more explicitly.

If you feel up to it, it is always appreciated if you could provide a patch. Update the documentation file with the more explicit instructions, create the diff and attach to this ticket.

comment:3 by roger, 17 years ago

so diff the html output?

comment:4 by Chris Beaven, 17 years ago

Checkout the SVN, edit the documentation txt file (restructured text format) and attach the diff.

comment:5 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [5365]) Fixed #4307 -- Clarified that ROOT_URLCONF is in settings.py and fixed a small
typo. Pointed out by rogerpack2005@….

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