-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
It's theoretically possible to rewrite old url() calls using translation to the new path format, e.g.
-from django.conf.urls import url
+from django.urls import re_path
from django.utils.translation import gettext_lazy as _
-url(_(r'^about/$'), views.about)
+path(_(r'about/'), views.about)State.from_imports would need extending to track aliases as it currently ignores them.
Metadata
Metadata
Assignees
Labels
No labels