diff options
Diffstat (limited to 'apps/links/models.py')
-rw-r--r-- | apps/links/models.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/links/models.py b/apps/links/models.py index cac4aa2..00a6f54 100644 --- a/apps/links/models.py +++ b/apps/links/models.py @@ -41,7 +41,7 @@ class Link(models.Model): return self.title def get_absolute_url(self): - return "/link/%s/" % (self.id) + return self.url def get_model_name(self): return 'link' @@ -73,9 +73,9 @@ class LinkSitemap(Sitemap): class LatestLinks(Feed): title = "Luxagraf: Links" - link = "/collections/" - description = "Latest Links posted to luxagraf.net" - description_template = 'feeds/collections_description.html' + link = "http://ma.gnolia.com/people/luxagraf/bookmarks" + description = "Links to interesting stuff" + description_template = 'feeds/links_description.html' def items(self): return Link.objects.filter(status__exact=1).order_by('-pub_date')[:10] |