From: Stephen Burrows Date: Tue, 7 Sep 2010 18:24:22 +0000 (-0400) Subject: Added tags to newsletter articles X-Git-Tag: philo-0.9~32^2~11 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/3f3b465af13e523065ca264f4ef63a82d1647046 Added tags to newsletter articles --- 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'