models.py from django.db import models class Test(models.Model): name = models.CharField(max_length=20). 以上的类名代表了数据库表名,且继承了models.
確定! 回上一頁