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