diff options
Diffstat (limited to 'app/lttr/models.py')
-rw-r--r-- | app/lttr/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/lttr/models.py b/app/lttr/models.py index 22341fa..76a3872 100644 --- a/app/lttr/models.py +++ b/app/lttr/models.py @@ -24,7 +24,6 @@ from utils.util import render_images, parse_video, markdown_to_html from taxonomy.models import TaggedItems from media.models import LuxImage, LuxImageSize from books.models import Book -from posts.models import Post # Possible actions that user can perform @@ -213,7 +212,7 @@ class OldNewsletterMailing(models.Model): class NewsletterMailing(models.Model): """ A model for Newletter Mailings, the things actually sent out """ newsletter = models.ForeignKey(Newsletter, on_delete=models.CASCADE) - post = models.ForeignKey(Post, null=True, blank=True, on_delete=models.SET_NULL) + post = models.ForeignKey("posts.Post", null=True, blank=True, on_delete=models.SET_NULL) title = models.CharField(max_length=250, blank=True) subtitle = models.CharField(max_length=250, null=True, blank=True) body_html = models.TextField(blank=True) |