Opened 18 years ago

Closed 17 years ago

#2980 closed enhancement (fixed)

[patch] URLconf boilerplate uses old-style urlconf example

Reported by: ymasuda <ymasuda@…> 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)

boilerplate_change.diff (538 bytes ) - added by ymasuda <ymasuda@…> 17 years ago.
change in urlconf boilerplate.

Download all attachments as: .zip

Change History (3)

by ymasuda <ymasuda@…>, 17 years ago

Attachment: boilerplate_change.diff added

change in urlconf boilerplate.

comment:1 by ymasuda <ymasuda@…>, 17 years ago

Summary: URLconf boilerplate uses old-style urlconf example[patch] URLconf boilerplate uses old-style urlconf example

Added patchfile.

comment:2 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

(In [4112]) Fixed #2980 -- Changed project_template/urls.py to use new-style URLconf. Thanks for the patch, ymasuda

Note: See TracTickets for help on using tickets.
Back to Top