Django

Code

Ticket #131 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: jcernelli@gmail.com Assigned to: adrian
Milestone: Component: Core framework
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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.

Attachments

Change History

07/20/05 22:47:14 changed by adrian

  • description changed.

07/20/05 22:47:37 changed by adrian

Oooh, interesting! That's smart.

09/26/05 22:53:16 changed by adrian

  • status changed from new to assigned.

09/26/05 23:24:20 changed by adrian

  • status changed from assigned to closed.
  • resolution set to fixed.

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


Add/Change #131 (Included URL configurations do not receive parameters parsed from parent URL configurations)




Change Properties
Action