2016-02-29 08:24:19 +00:00
|
|
|
from django.conf.urls.i18n import i18n_patterns
|
|
|
|
from django.http import HttpResponse
|
2018-12-07 22:52:28 +00:00
|
|
|
from django.urls import path, re_path
|
2017-01-26 19:58:33 +00:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
2016-02-29 08:24:19 +00:00
|
|
|
|
|
|
|
urlpatterns = i18n_patterns(
|
2018-12-07 22:52:28 +00:00
|
|
|
re_path(r"^(?P<arg>[\w-]+)-page", lambda request, **arg: HttpResponse(_("Yes"))),
|
|
|
|
path("simple/", lambda r: HttpResponse(_("Yes"))),
|
|
|
|
re_path(r"^(.+)/(.+)/$", lambda *args: HttpResponse()),
|
2023-04-28 06:05:43 +00:00
|
|
|
re_path(_(r"^users/$"), lambda *args: HttpResponse(), name="users"),
|
2016-02-29 08:24:19 +00:00
|
|
|
prefix_default_language=False,
|
|
|
|
)
|