From deaad1a2723c9b13c3a4b364362bdfba411b1522 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Thu, 14 Nov 2019 15:51:45 -0800 Subject: [PATCH] procat2 models: catalog email can be blank (for admin update) --- procat2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procat2/models.py b/procat2/models.py index cce26f7..9634a84 100644 --- a/procat2/models.py +++ b/procat2/models.py @@ -60,7 +60,7 @@ class Catalog(models.Model): created = models.DateTimeField(auto_now_add=True) updated = models.DateTimeField(auto_now=True, db_index=True) name = models.CharField(max_length=300) - email = models.CharField(max_length=300, null=True) + email = models.CharField(max_length=300, null=True, blank=True) public = models.BooleanField(default=False, db_index=True) pages = models.PositiveIntegerField(default=0) sections = models.PositiveIntegerField(default=0)