Django Book 翻译
菜单>:
TOC
返回
原文:
For convenience, each model is given an autoincrementing primary key field named ``id`` unless you explicitly specify ``primary_key=True`` on a field (see the section titled AutoField in Appendix B).
翻译:
为了方便,每个数据库模型都会添加一个自增主键字段,即 ``id`` 。除非你在某个字段属性中显式的指定 ``primary_key=True`` (参见附录B中题为AutoField的章节)。
备注:
译者: