procat2 models: catalog email can be blank (for admin update)

This commit is contained in:
2019-11-14 15:51:45 -08:00
parent a87e69758f
commit deaad1a272

View File

@ -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)