From 3f3b465af13e523065ca264f4ef63a82d1647046 Mon Sep 17 00:00:00 2001 From: Stephen Burrows Date: Tue, 7 Sep 2010 14:24:22 -0400 Subject: [PATCH] Added tags to newsletter articles --- contrib/penfield/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/penfield/models.py b/contrib/penfield/models.py index 3791e55..33eecb0 100644 --- a/contrib/penfield/models.py +++ b/contrib/penfield/models.py @@ -240,6 +240,7 @@ class NewsletterArticle(Entity, Titled): date = models.DateTimeField(default=datetime.now) lede = models.TextField(null=True, blank=True) full_text = models.TextField() + tags = models.ManyToManyField(Tag, related_name='newsletterarticles', blank=True, null=True) class Meta: get_latest_by = 'date' -- 2.20.1