def render(self, indent=0):
"""
Renders a HttpResponse for the ongoing request
:param indent int
:rtype: HttpResponse
"""
self.__indent = indent
return HttpResponse(
self.__str__(), content_type=self.__content_type, charset=self.__charset, **self.__kwargs
)
评论列表
文章目录