擅长:python、mysql、java
<p>您正在<code>splitlines</code>上的某处使用<code>HttpResponse</code>。<code>HttpResponse</code>没有方法<code>splitlines</code>。错误不是由添加到问题中的代码段产生的。你知道吗</p>
<p><a href="https://docs.djangoproject.com/en/1.10/_modules/django/http/response/#HttpResponse" rel="nofollow noreferrer">Source of the django's HttpResponse object</a></p>
<p>找到您试图让<code>HttpResponse</code>使用<code>splitlines</code>方法的地方。从删除<code>HttpResponse</code>上不存在的<code>splitlines</code>开始。你知道吗</p>