2013-02-28 12:45:21 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.conf.urls.i18n import i18n_patterns
|
2013-03-25 14:45:24 +00:00
|
|
|
from django.http import HttpResponse, StreamingHttpResponse
|
2013-02-28 12:45:21 +00:00
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
urlpatterns = i18n_patterns('',
|
2013-03-25 14:45:24 +00:00
|
|
|
(r'^simple/$', lambda r: HttpResponse()),
|
2013-02-28 12:45:21 +00:00
|
|
|
(r'^streaming/$', lambda r: StreamingHttpResponse([_("Yes"), "/", _("No")])),
|
|
|
|
)
|