mirror of
https://github.com/django/django.git
synced 2024-12-28 20:16:19 +00:00
8 lines
227 B
Python
8 lines
227 B
Python
from django.conf.urls.i18n import i18n_patterns
|
|
from django.urls import path
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
urlpatterns = i18n_patterns(
|
|
path(_("translated/"), lambda x: x, name="i18n_prefixed"),
|
|
)
|