diff options
Diffstat (limited to 'chimere/rss/feeds.py')
| -rw-r--r-- | chimere/rss/feeds.py | 10 | 
1 files changed, 2 insertions, 8 deletions
diff --git a/chimere/rss/feeds.py b/chimere/rss/feeds.py index 1bb1a76..01a574e 100644 --- a/chimere/rss/feeds.py +++ b/chimere/rss/feeds.py @@ -77,20 +77,14 @@ class LatestPOIsByCategory(BaseFeed):              raise FeedDoesNotExist          return settings.BASE_URL + 'rss/category/' + str(obj.id) -    def description(self, obj): -        """ -        Description of the feed -        """ -        return obj.description -      def items(self, obj):          """          Requests to marker where its category match the category is requested          and its status is available -        This returns a list of the 15 last markers/POIs ordering by date  +        This returns a list of the 15 last markers/POIs ordering by date          """          q = Marker.objects.filter(status__exact='A', -            categories__subcategory__category__id__exact=obj.id, +            categories__category__id__exact=obj.id,              available_date__isnull=False).order_by('-available_date')[:15]          return q  | 
