I am working on a legacy django project, in there somewhere there is a class defined as follows;
from django.http import HttpResponse class Response(HttpRes
It looks like you don't use self.template in Response class. Try like this:
self.template
Response
class Response(HttpResponse): def __init__(self, template='', calling_context='' status=None): HttpResponse.__init__(self, get_template(template).render(calling_context), status)