[extensions-web] Fix RSS feed some more.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Fix RSS feed some more.
- Date: Tue, 6 Dec 2011 03:15:47 +0000 (UTC)
commit c9c3a81187fa3fe21b08fca9b37c6a608e7b03b2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Dec 5 22:15:41 2011 -0500
Fix RSS feed some more.
sweettooth/extensions/feeds.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/feeds.py b/sweettooth/extensions/feeds.py
index c3f89ec..35e89fc 100644
--- a/sweettooth/extensions/feeds.py
+++ b/sweettooth/extensions/feeds.py
@@ -9,7 +9,7 @@ class LatestExtensionsFeed(Feed):
description = "The latest extensions in GNOME Shell Extensions"
def items(self):
- return Extension.objects.visible().order_by('pk')[-10:]
+ return Extension.objects.visible().order_by('-pk')[:10]
def item_title(self, item):
return item.name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]