Fixed attachments for newsletters
This commit is contained in:
parent
b4991f6782
commit
e9cf1f5203
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user