# define default value like this. bilal_dev = models.ImageField(upload_to='abc/', default=datetime.now)