摘要:
继django: db howto - 1 :一 操作数据库的三种方式:[root@bogon csvt03]# python2.7 manage.py shellPython 2.7.5 (default, Sep 20 2013, 07:02:05)>>> from blog.models import Employee>>> emp = Employee()>>> emp.name="One">>> emp.save()>>> emp = Employee(name=" 阅读全文