diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 11:10:21 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 11:10:21 -0400 |
commit | c320458af67aa875d093323d3a13c2c7a1d0d83c (patch) | |
tree | 636559701755500cdcd617daa08925c909cd05ff /devel | |
parent | 53784f4db1eb972ad7bc849c4a119f407ad07137 (diff) |
Dusty's 80 char issue
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 4 |
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', |