2016-02-29 09:24:19 +01:00
|
|
|
from django.conf.urls.i18n import i18n_patterns
|
|
|
|
from django.http import HttpResponse
|
2018-12-07 17:52:28 -05:00
|
|
|
from django.urls import path, re_path
|
2017-01-26 20:58:33 +01:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
2016-02-29 09:24:19 +01:00
|
|
|
|
|
|
|
urlpatterns = i18n_patterns(
|
2018-12-07 17:52:28 -05: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 08:05:43 +02:00
|
|
|
re_path(_(r"^users/$"), lambda *args: HttpResponse(), name="users"),
|
2016-02-29 09:24:19 +01:00
|
|
|
prefix_default_language=False,
|
|
|
|
)
|