Opened 17 years ago
Closed 17 years ago
#4307 closed (fixed)
Unclear location of ROOT_URLCONF in tutorial 3
Reported by: | 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 , 17 years ago
comment:2 by , 17 years ago
Summary: | typo in tutorial 3 → Unclear location of ROOT_URLCONF in tutorial 3 |
---|---|
Triage Stage: | Unreviewed → Accepted |
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:4 by , 17 years ago
Checkout the SVN, edit the documentation txt file (restructured text format) and attach the diff.
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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!