1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #32470 -- Fixed ResolverMatch instance on test clients when request.urlconf is set.

This commit is contained in:
Marc Gibbons
2021-02-21 15:12:41 -05:00
committed by Mariusz Felisiak
parent fb93363c49
commit d6572ee4b0
3 changed files with 50 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
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'),
]