django/tests/i18n/patterns/urls/included.py

9 lines
209 B
Python
Raw Normal View History

from django.urls import path
from django.views.generic import TemplateView
view = TemplateView.as_view(template_name='dummy.html')
urlpatterns = [
path('foo/', view, name='not-prefixed-included-url'),
]