mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
9 lines
208 B
Python
9 lines
208 B
Python
from django.urls import re_path
|
|
from django.views.generic import TemplateView
|
|
|
|
view = TemplateView.as_view(template_name='dummy.html')
|
|
|
|
urlpatterns = [
|
|
re_path('^nl/foo/', view, name='not-translated'),
|
|
]
|