how to set a default value in timefield models of django code example Example: django datetimefield default date = models.DateTimeField(auto_now_add=True, blank=True)