我正在使用bootstrap-modal-forms向用户显示一个带有一些内联表单的表单集。如果只将数据输入到原始表单中,则用户可以保存表单,但如果内联表单集包含数据,则我会得到以下错误: 'NoneType' object has no attribute 'is_ajax' 在我尝试在模式表单中实现它们之前,内联
但有时会导致以下错误。File "K:/fyp/raceRecord.py", line 32, in <module>AttributeError: 'NoneType' object has no attribute 'find'
我知道这个错误是由于table.find('tbody')返回None而导致