Opened 19 years ago
Closed 19 years ago
#2980 closed enhancement (fixed)
[patch] URLconf boilerplate uses old-style urlconf example
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In conf/project_template/urls.py, an example urlpattern seems to include a child urlconf
in somewhat old-style layout # (r'^{{ project_name }}/', include('{{ project_name }}.apps.foo.urls.foo')), .
I think # (r'^{{ project_name }}/', include('{{ project_name }}.app.urls')), would be better.
Attachments (1)
Change History (3)
by , 19 years ago
| Attachment: | boilerplate_change.diff added |
|---|
comment:1 by , 19 years ago
| Summary: | URLconf boilerplate uses old-style urlconf example → [patch] URLconf boilerplate uses old-style urlconf example |
|---|
Added patchfile.
comment:2 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
change in urlconf boilerplate.