django手动设置主键并且自增长 django 2015-12-21 阅读(2294) lv_id = models.AutoField(primary_key=True) primary_key=True:设置主键AutoField:设置自增长 Tags: >django