1.获取数据库模型字段1234params = yourmodel._meta.fieldsfor i in range(len(params)): print params[i],params[i].verbose_name
2.获取数据库名称1yourmodel._meta.object_name
1.获取数据库模型字段1234params = yourmodel._meta.fieldsfor i in range(len(params)): print params[i],params[i].verbose_name
2.获取数据库名称1yourmodel._meta.object_name