Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#131 closed defect (fixed)

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

Reported by: jcernelli@… Owned by: adrian
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)

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 10 years ago by adrian

  • Description modified (diff)

comment:2 Changed 10 years ago by adrian

Oooh, interesting! That's smart.

comment:3 Changed 9 years ago by adrian

  • Status changed from new to assigned

comment:4 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

(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