apply_driver_hacks11:58:18 web.1 | AttributeError: 'NoneType' object has no attribute 'drivername'
从我在网上找到的信息来看,问题似乎是我可能没有正确地连接到数据库。flask_sqlalchemy/__init__.py", line 7
allow_null=True) model = MarketingPlan访问此序列化程序的data属性时MarketingPlan.objects.first()
rest_framework/fields.py", line 100, in get_attributeinstance = getattr(instan
class Meta: fields = ('pk', 'unit',当unit外键字段为None时,访问此序列化程序的数据属性field.get_attribute(instance)
File "C:\Python36\lib\site-packages\rest_framework\relations.py", line 177, in get_attributereturn get_attribut
firefox.get('some link right here')
linkimg = firefox.find_elements_by_xpath('/html/body/div[3]/div/div/img').get_attribute('src') 但是当我运行这段代码时,它显示: AttributeError:'list‘对象没有属性'get_a