mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #22572 -- override_settings(ROOT_URLCONF) didn't clear urlresolvers._urlconfs.
Thanks Anubhav Joshi and Tim Graham for the reviews.
This commit is contained in:
@@ -13,3 +13,7 @@ def get_person(request, pk):
|
||||
def no_template_used(request):
|
||||
template = loader.get_template_from_string("This is a string-based template")
|
||||
return HttpResponse(template.render(Context({})))
|
||||
|
||||
|
||||
def empty_response(request):
|
||||
return HttpResponse('')
|
||||
|
||||
Reference in New Issue
Block a user