Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django updated_at field

class Location(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 #field
ADD COMMENT
Topic
Name
8+9 =