From e36e8df700094598b26c2a3cd5f4e62f574a8190 Mon Sep 17 00:00:00 2001 From: sanj Date: Sat, 23 Oct 2010 17:30:51 +0200 Subject: [PATCH] ups, show the current issue in erang --- itf/erang_organised/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itf/erang_organised/views.py b/itf/erang_organised/views.py index bbb25fc..b76cd60 100644 --- a/itf/erang_organised/views.py +++ b/itf/erang_organised/views.py @@ -11,8 +11,8 @@ def home(request): if request.GET.has_key('issue_id'): issue_id = request.GET.get('issue_id') else: - l = all_issues.count() - 1 - issue_id = all_issues[l].id +# l = 0 + issue_id = all_issues[0].id current_issue = Issue.objects.get(pk=issue_id) other_issues = all_issues.exclude(pk=issue_id) return render_to_response("erang/home.html", {