Groups
Groups
Sign in
Groups
Groups
Django updates
Conversations
About
Send feedback
Help
[Django] #36796: gettext_lazy and url patterns
2 views
Skip to first unread message
Django
unread,
Dec 12, 2025, 9:44:40 AM
12/12/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
#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.
Django
unread,
Dec 12, 2025, 9:51:04 AM
12/12/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
#36796: gettext_lazy and url patterns
---------------------------------+--------------------------------------
Reporter: Andrea Angelini | Owner: (none)
Type: Bug | Status: new
Component: Core (URLs) | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Andrea Angelini):
* cc: Andrea Angelini (added)
* type: Uncategorized => Bug
--
Ticket URL: <
https://code.djangoproject.com/ticket/36796#comment:1
>
Reply all
Reply to author
Forward
0 new messages