Django数据库,在原有表中添加新字段
摘要:1、在你要添加新字段的app的 models.py 文件中添加需要新增的字段(这里新增的是dress字段): from django.db import models # Create your models here.class Test(models.Model): name=models.Ch
阅读全文
posted @ 2019-02-19 11:07
posted @ 2019-02-19 11:07
posted @ 2019-01-24 16:19
posted @ 2019-01-18 11:00
posted @ 2019-01-18 10:54
posted @ 2019-01-07 14:20