#36796: gettext_lazy and url patterns
---------------------------------+-----------------------------------------
Reporter: Andrea Angelini | Type: Uncategorized
Status: new | Component: Core (URLs)
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
After this commit:
https://github.com/django/django/commit/f920937c8a63df6bea220e4386f59cdb45b2e355
this is not working if `self._route` is `gettext_lazy('test')`:
{{{
elif path.startswith(self._route):
return path.removeprefix(self._route), (), {}
}}}
More info here:
https://forum.djangoproject.com/t/gettext-lazy-and-url-patterns/43703
--
Ticket URL: <https://code.djangoproject.com/ticket/36796>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019b13054ca9-dcb1fbae-88c6-48bf-b598-bf021cec5dca-000000%40eu-central-1.amazonses.com.