Opened 12 years ago

Closed 12 years ago

#18940 closed Uncategorized (needsinfo)

ROOT_URLCONF Setting in settings.py Unclear

Reported by: jc.blake@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: ROOT_URLCONF
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Part 3 of the Django tutorial refers to ROOT_URLCONF = 'mysite.urls' in settings.py, then goes on to discuss editing of mysite/urls.py, and states that "Django will load this Python module, because it is pointed to by the ROOT_URLCONF setting.".

Documentation is obscure, as ROOT_URLCONF setting does not point to an existing Python module. Should ROOT_URLCONF be changed?

Change History (4)

comment:1 by jc.blake@…, 12 years ago

Since advised that mysite.urls is a namespaces import path. Documenting this, or pointing to where this is documented, will assist new users.

comment:2 by anonymous, 12 years ago

Needs documentation: set

comment:3 by Tim Graham, 12 years ago

Did you encounter a problem or was this just confusing? Could you suggest what text should be added? I'm not entirely clear what the confusion is.

comment:4 by Tim Graham, 12 years ago

Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top