我已经在堆栈溢出和互联网上搜索了一个解决方案,可以从anotehr djangorestframework APIView调用djangorestframework ListAPIView。list'})(request) # do other things with the response
然而,我得到了一个错误
但是作为Attribution error: 'module' object has no attribute BasePaginationSerializer,我得到了错误。我尝试过卸载-重新安装上述版本的Python,Django和RestFramework。但我还是明白那个错误。
import urlparse
from django.core.paginator import E
我正在使用django-restframework,我使用postman POST json数据到我的项目,但我得到了类似tittle的错误,我设置了raw和application/json这里是postman<code>A0</code><code>A1</code>
在我使用视图集之后,出现了这个错误,我已经在shell上打印了它,但它没有问题