From eab51d9c70391fd6c4840bfc44aa53aed4b48410 Mon Sep 17 00:00:00 2001 From: lxf Date: Mon, 21 Dec 2020 14:28:31 -0500 Subject: fixed a typo --- app/lttr/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/lttr/models.py b/app/lttr/models.py index 8c0f335..b3a18a3 100644 --- a/app/lttr/models.py +++ b/app/lttr/models.py @@ -391,7 +391,7 @@ class MailingStatus(models.Model): creation_date = models.DateTimeField(_('creation date'), auto_now_add=True) def newsletter(self): - return newsletter_mailing.newsletter + return self.newsletter_mailing.newsletter def __str__(self): return '%s : %s : %s' % (self.newsletter_mailing, -- cgit v1.2.3-70-g09d2