Code

#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?

Attachments (0)

Change History (4)

comment:1 Changed 19 months ago by jc.blake@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 Changed 19 months ago by anonymous

  • Needs documentation set

comment:3 Changed 19 months ago by timo

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 Changed 19 months ago by timo

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.