2016-02-29 08:24:19 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
from django.conf.urls.i18n import i18n_patterns
|
|
|
|
from django.http import HttpResponse
|
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(
|
2016-10-28 09:36:53 +00:00
|
|
|
url(r'^(?P<arg>[\w-]+)-page', lambda request, **arg: HttpResponse(_("Yes"))),
|
2016-02-29 08:24:19 +00:00
|
|
|
url(r'^simple/$', lambda r: HttpResponse(_("Yes"))),
|
2016-11-05 11:56:34 +00:00
|
|
|
url(r'^(.+)/(.+)/$', lambda *args: HttpResponse()),
|
2016-02-29 08:24:19 +00:00
|
|
|
prefix_default_language=False,
|
|
|
|
)
|