diff options
-rw-r--r-- | feeds.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -5,6 +5,8 @@ from django.db.models import Q from main.models import Arch, Repo, Package, News class PackageFeed(Feed): + link = '/packages/' + def get_object(self, bits): # just cut the BS early if len(bits) > 2: @@ -34,9 +36,6 @@ class PackageFeed(Feed): s += ' (%s)' % (obj['arch'].name) return s - def link(self, obj): - return '/packages/' - def description(self, obj): s = 'Recently updated packages in the Arch Linux package repositories' if 'arch' in obj: |