Opened 11 years ago

Closed 11 years ago

Last modified 10 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: UI/UX:

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 Changed 11 years ago by Adrian Holovaty

Description: modified (diff)

comment:2 Changed 11 years ago by Adrian Holovaty

Oooh, interesting! That's smart.

comment:3 Changed 11 years ago by Adrian Holovaty

Status: newassigned

comment:4 Changed 11 years ago by Adrian Holovaty

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