diff options
author | lxf <sng@luxagraf.net> | 2021-11-26 10:54:04 -0500 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-11-26 10:54:04 -0500 |
commit | 69ad3604fd40a9ba645d2d5bc80763cc91e64636 (patch) | |
tree | f6e2c274fcb26a15044454256fc96ab07e55187e /app | |
parent | 5df00f95355da6384367f03b292808d1b81b8838 (diff) |
lttr: fixed so I can change issue of newsletter mailing
Diffstat (limited to 'app')
-rw-r--r-- | app/lttr/models.py | 1 |
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() |