"TagsInfo"为一个model
用_meta.fields方法可取得Model对象的所有字段名称
fields_data = TagsInfo._meta.fields
l_model_name = list(key.name for key in fields_data)
print(l_model_name)
"TagsInfo"为一个model
用_meta.fields方法可取得Model对象的所有字段名称
fields_data = TagsInfo._meta.fields
l_model_name = list(key.name for key in fields_data)
print(l_model_name)