Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django created at field

class MyModel(models.Model):
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #created #field
ADD COMMENT
Topic
Name
9+5 =