Fixed attachments for newsletters

This commit is contained in:
Zakary Timson 2018-05-24 16:14:08 -04:00
parent b4991f6782
commit e9cf1f5203

View File

@ -22,7 +22,7 @@ class Newsletter(models.Model):
publish = models.DateTimeField(default=timezone.now)
sent = models.BooleanField(default=False)
subject = models.CharField(max_length=255)
attachments = models.ManyToManyField(Attachment, blank=True, null=True)
attachments = models.ManyToManyField(Attachment, blank=True)
def __str__(self):
return self.subject