summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-07 11:10:21 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-07 11:10:21 -0400
commitc320458af67aa875d093323d3a13c2c7a1d0d83c (patch)
tree636559701755500cdcd617daa08925c909cd05ff /devel/views.py
parent53784f4db1eb972ad7bc849c4a119f407ad07137 (diff)
Dusty's 80 char issue
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py
index faa41bbf..3db6aa2c 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -84,9 +84,9 @@ def change_profile(request):
return render_response(request, 'devel/profile.html', {'form': form})
def siteindex(request):
- # get the most recent 10 news items
news = News.objects.order_by('-postdate', '-id')[:10]
- pkgs = Package.objects.exclude(repo__name__iexact='testing').order_by('-last_update')[:15]
+ pkgs = Package.objects.exclude(repo__name__iexact='testing').order_by(
+ '-last_update')[:15]
repos = Repo.objects.all()
return render_response(
request, 'devel/siteindex.html',