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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.