def post(self, url, data=None, content_type=MULTIPART_CONTENT, **kwargs):
response = self.client.post(
url, data, content_type, HTTP_HOST=settings.PROJECT_HOST, **kwargs)
response.html = self._get_html(response)
return response
评论列表
文章目录