#36796: URL resolution breaks if route defined with lazy string and uses an include
-------------------------------------+-------------------------------------
Reporter: Andrea Angelini | Owner: Kundan
| Yadav
Type: Bug | Status: closed
Component: Core (URLs) | Version: 6.0
Severity: Release blocker | Resolution: fixed
Keywords: gettext_lazy, lazy | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"7bf3ac3ee255bcfe329e3203c7a2555b1275d506" 7bf3ac3e]:
{{{#!CommitTicketReference repository=""
revision="7bf3ac3ee255bcfe329e3203c7a2555b1275d506"
Fixed #36796 -- Handled lazy routes correctly in RoutePattern.match().
Coerce lazy route values to `str` at match time to support prefix and
endpoint matching when using `gettext_lazy()` route paths.
Regression in f920937c8a63df6bea220e4386f59cdb45b2e355.
Thanks to Andrea Angelini for the report, and to Jake Howard and Jacob
Walls for reviews.
Co-authored-by: Natalia <
124304+...@users.noreply.github.com>
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/36796#comment:12>