django1/tests/test_client/urls_middleware_urlconf.py

12 lines
229 B
Python

from django.http import HttpResponse
from django.urls import path
def empty_response(request):
return HttpResponse()
urlpatterns = [
path('middleware_urlconf_view/', empty_response, name='middleware_urlconf_view'),
]