django model current timestamp code example Example: django model current timestamp created = models.DateTimeField(auto_now_add=True)