summaryrefslogtreecommitdiff
path: root/app/lttr
diff options
context:
space:
mode:
Diffstat (limited to 'app/lttr')
-rw-r--r--app/lttr/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lttr/models.py b/app/lttr/models.py
index e084d4f..7c40f0e 100644
--- a/app/lttr/models.py
+++ b/app/lttr/models.py
@@ -254,6 +254,7 @@ class NewsletterMailing(models.Model):
self.body_html = markdown_to_html(md)
self.body_email_html = markdown_to_emailhtml(self.body_html)
self.date_created = timezone.now()
+ self.issue = self.post.issue
if created and not self.featured_image:
self.featured_image = LuxImage.objects.latest()
super(NewsletterMailing, self).save()