Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#131 closed defect (fixed)

Included URL configurations do not receive parameters parsed from parent URL configurations

Reported by: jcernelli@… Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Adrian Holovaty)

Example:

settings/urls/main.py
(r'^(?P<username>\w+)/blog/', include('fiji.apps.blog.urls.blog')),

apps/blog/urls/blog.py
(r'', 'blog.index'),

In this case, the username parameter caught by the main conf file does not get passed to the blog conf file, which is desired.

Change History (4)

comment:1 by Adrian Holovaty, 19 years ago

Description: modified (diff)

comment:2 by Adrian Holovaty, 19 years ago

Oooh, interesting! That's smart.

comment:3 by Adrian Holovaty, 19 years ago

Status: newassigned

comment:4 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: assignedclosed

(In [704]) Fixed #131 -- URLconfs that are 'included' now receive captured parameters from parent URLconfs. Thanks for the idea, jcernelli@…

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