摘要: $python manage.py shell >>>from app01.models import Person 新建一个对象的几种方法: 1. Person.objects.create(name="zhangsan", age=23) 2. p = Person(naem="lisi", a 阅读全文
posted @ 2017-04-24 14:48 Garvey 阅读(261) 评论(0) 推荐(0) 编辑