'str' object has no attribute 'notnull'
时间: 2023-10-12 22:05:26 浏览: 60
在引用中提到了类似的错误,即AttributeError: 'str' object has no attribute 'decode'。这个错误通常出现在尝试对字符串对象调用不存在的方法或属性时。同样,对于错误信息中提到的'str' object has no attribute 'notnull',也是类似的情况,即字符串对象没有名为'notnull'的属性。中提供了一个临时解决方案,但更好的解决方案应该根据具体情况来确定。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [AttributeError: ‘Timestamp‘ object has no attribute ‘translate](https://blog.csdn.net/m0_45321132/article/details/128145833)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Django2.2报错——AttributeError: ''str'' object has no attribute ''decode''](https://blog.csdn.net/qq_36274515/article/details/89043481)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]