Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django id

The ID in django is a "unique identifier" for each models instances.
You do not need to explicitly add a ID field to your own models as 
the ID attribute is automatically generated for you behind the scences
by django for each new model and any newly created instances of that 
model afterwards.
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #id
ADD COMMENT
Topic
Name
8+9 =