Opened 13 years ago
Closed 13 years ago
#18940 closed Uncategorized (needsinfo)
ROOT_URLCONF Setting in settings.py Unclear
| Reported by: | 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 , 13 years ago
comment:2 by , 13 years ago
| Needs documentation: | set |
|---|
comment:3 by , 13 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 , 13 years ago
| Resolution: | → needsinfo |
|---|---|
| Status: | new → closed |
Since advised that mysite.urls is a namespaces import path. Documenting this, or pointing to where this is documented, will assist new users.