Opened 3 years ago

Closed 3 years ago

#18940 closed Uncategorized (needsinfo)

ROOT_URLCONF Setting in 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


Part 3 of the Django tutorial refers to ROOT_URLCONF = 'mysite.urls' in, then goes on to discuss editing of mysite/, 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 Changed 3 years 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 3 years ago by anonymous

  • Needs documentation set

comment:3 Changed 3 years 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 3 years ago by timo

  • Resolution set to needsinfo
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top