objectives = GlobalCharFilter(field_name='meetings__objective', lookup_expr='icontains')
Exception Value: type object 'ExpertGlobalFilter' has no attrib
我有这个问题,AttributeError: type object 'ElementTree' has no attribute 'tostring',我不知道哪里出了问题,我导入字符串,它不工作。尝试按照另一个教程进行操作,但是什么都没有。
是否有其他方法可以将ElementTree对象转换为XML字符串?