diff --git a/program/models.py b/program/models.py index 3fe323b65701b17172dfe451d0113ec77b4ef913..d6fada877152b8ad6f5a8cdd51bf5c00f9e94f5f 100644 --- a/program/models.py +++ b/program/models.py @@ -92,8 +92,8 @@ class ModelWithCreatedUpdatedFields(models.Model): created_at = models.DateTimeField(auto_now_add=True) created_by = models.CharField(max_length=150) - updated_at = models.DateTimeField(auto_now=True) - updated_by = models.CharField(max_length=150) + updated_at = models.DateTimeField(auto_now=True, blank=True, null=True) + updated_by = models.CharField(blank=True, max_length=150, null=True) class Meta: abstract = True