Django 模型类(models.py)的定义详解 一.#在models.py中添加#代码如下fromdjango.dbimportmodels#出版商classPublisher(models.Model):name=models.CharF 模型类