From ddf7de3840e262d6e4644737707c8eaa0aada217 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 18 Feb 2012 17:07:42 +0530 Subject: [PATCH] add fts_fields for emailer --- itf/emailer/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/itf/emailer/models.py b/itf/emailer/models.py index 009952a..87807c1 100755 --- a/itf/emailer/models.py +++ b/itf/emailer/models.py @@ -7,6 +7,7 @@ class EmailerIssue(ItfModel): date = models.DateField() issue_no = models.IntegerField() published = models.BooleanField(default=False) + fts_fields = ['title', 'emailerarticle__text'] def __unicode__(self): return self.title @@ -14,6 +15,8 @@ class EmailerIssue(ItfModel): class Meta: ordering = ['-issue_no'] + + def info_dict(self): return { 'issue': self,