Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#25610 closed Bug (fixed)

url template tag ignores request.current_app

Reported by: Marten Kenbeek Owned by: Marten Kenbeek
Component: Core (URLs) Version: dev
Severity: Normal Keywords:
Cc: marten.knbk@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The commit that removed context.current_app (5e450c52aafb62b9d83c8ac08892e0b92cbec4aa) inadvertently removed the use of context.request.current_app as well. The latter should remain as a way to explicitly override the namespace that is used to reverse the url.

Change History (5)

comment:1 by Marten Kenbeek, 9 years ago

Cc: marten.knbk@… added
Owner: changed from nobody to Marten Kenbeek
Status: newassigned

comment:3 by Tim Graham, 9 years ago

Triage Stage: UnreviewedReady for checkin

comment:4 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 34af2bc5:

Fixed #25610 -- Reverted removal of request.current_app in {% url %} tag.

The deprecation removal in 5e450c52aafb62b9d83c8ac08892e0b92cbec4aa
removed too much.

comment:5 by Aymeric Augustin, 9 years ago

Indeed that's what my original instructions said. Sorry, I missed that when reviewing 5e450c52aafb62b9d83c8ac08892e0b92cbec4aa.

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