From 27211fd65cdf744887c67dad7f72ee7566882695 Mon Sep 17 00:00:00 2001 From: sanj Date: Wed, 1 Sep 2010 13:54:09 +0530 Subject: [PATCH] show the latest issue in erang_organised --- itf/erang_organised/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/erang_organised/views.py b/itf/erang_organised/views.py index f69adc0..d58a429 100644 --- a/itf/erang_organised/views.py +++ b/itf/erang_organised/views.py @@ -11,7 +11,7 @@ def home(request): if request.GET.has_key('issue_id'): issue_id = request.GET.get('issue_id') else: - issue_id = all_issues[0].id + issue_id = all_issues[-1].id current_issue = Issue.objects.get(pk=issue_id) other_issues = all_issues.exclude(pk=issue_id) return render_to_response("erang/home.html", {