mirror of
https://github.com/django/django.git
synced 2024-12-29 04:26:28 +00:00
11 lines
297 B
Python
11 lines
297 B
Python
from django.conf.urls.i18n import i18n_patterns
|
|
from django.urls import include, re_path
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
urlpatterns = i18n_patterns(
|
|
re_path(
|
|
_(r"^account/"),
|
|
include("i18n.patterns.urls.wrong_namespace", namespace="account"),
|
|
),
|
|
)
|