1 from django
.conf
.urls
import url
2 from django
.conf
.urls
.i18n
import i18n_patterns
3 from django
.views
.generic
import TemplateView
5 view
= TemplateView
.as_view(template_name
='dummy.html')
7 urlpatterns
= i18n_patterns('',
8 url(r
'^prefixed/$', view
, name
='prefixed'),