'Asserts that the template with the provided name was NOT used in
rendering the response.'

def assertTemplateNotUsed(self, response, template_name, msg_prefix=''):

    if msg_prefix:
        msg_prefix += ':    '
    template_names = [t.name for t in response.templates]
    self.assertFalse((template_name in template_names), (msg_prefix + ("Template    '%s'    was    used    unexpectedly    in    rendering    the    response" % template_name)))
