2011-06-16 01:29:10 +08:00
|
|
|
from django.conf.urls.i18n import i18n_patterns
|
2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import path
|
2011-06-16 01:29:10 +08:00
|
|
|
from django.views.generic import TemplateView
|
|
|
|
|
|
|
|
view = TemplateView.as_view(template_name='dummy.html')
|
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = i18n_patterns(
|
2018-12-08 06:52:28 +08:00
|
|
|
path('prefixed/', view, name='prefixed'),
|
2011-06-16 01:29:10 +08:00
|
|
|
)
|