db.models.AutoField

class AutoField(**options) [source]

An IntegerField that automatically increments according to available IDs. You usually won’t need to use this directly; a primary key field will automatically be added to your model if you don’t specify otherwise. See Automatic primary key fields.

doc_Django
2016-10-09 18:35:12
Comments
Leave a Comment

Please login to continue.