class IndexView(TemplateView):
def get(self, request, *args, **kwargs):
req = get("http://example.tilda.ws")
cont = req.content.decode("utf-8")
cont = cont.replace('href="/', 'href="http://example.tilda.ws/')
return HttpResponse(content=cont, content_type=req.headers.get("Content-Type"), status=req.status_code)