django/tests/urlpatterns_reverse/urls_without_handlers.py

10 lines
241 B
Python

# A URLconf that doesn't define any handlerXXX.
from django.urls import path
from .views import bad_view, empty_view
urlpatterns = [
path('test_view/', empty_view, name="test_view"),
path('bad_view/', bad_view, name="bad_view"),
]