SimpleTestCase.assertTemplateNotUsed(response, template_name, msg_prefix='') [source]
Asserts that the template with the given name was not used in rendering the response.
You can use this as a context manager in the same way as assertTemplateUsed().
Please login to continue.