local/lib/python2.7/dist-packages/pytesseract/pytesseract.py", line 137, in image_to_stringAttributeError: 'str' object has no attribute 'save'
这个错误意味着什么?
我正在尝试将两个int值保存到我的postgreSQL数据库中,并将显示如下的跟踪:'Data' object has no attribute 'save'。我不知道是怎么回事。= models.IntegerField()from django.shortcuts import render,redirectfrom django.http import JsonResponse
from
我对如何使用字符串名称显示Django而不是获取与该名称关联的“对象”有问题。我试图使用ManyToMany关系,但我无法完全弄清楚。我得到的错误是:'str' object has no attribute '_default_manager'models/hood.py至少我从医生那里是这么想的:
但是,当您获得Hood对象并执行ho
'str' object has no attribute 'get'。我不知道是什么原因造成的,所有其他的答案与这个错误是没有任何关系的,任何帮助都是很棒的。, line 26, in process_responseAttributeError: 'strrequest, pk):
selected_post = post.objects.get(pk=p