2017-09-20 22:22:30 +08:00
|
|
|
from django.conf.urls.i18n import i18n_patterns
|
2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import path
|
2017-09-20 22:22:30 +08:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
|
|
urlpatterns = i18n_patterns(
|
2018-12-08 06:52:28 +08:00
|
|
|
path(_('translated/'), lambda x: x, name='i18n_prefixed'),
|
2017-09-20 22:22:30 +08:00
|
|
|
)
|