X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/ac4a0cc6665c69711706e389ecffbd3915c44d52..3f3b465af13e523065ca264f4ef63a82d1647046:/contrib/penfield/models.py?ds=inline 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'