diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/views.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/views.py b/public/views.py index 30fb2902..e301aaef 100644 --- a/public/views.py +++ b/public/views.py @@ -9,9 +9,9 @@ from django.views.generic import list_detail def index(request): context = { - 'news': News.objects.order_by('-postdate', '-id')[:10], - 'pkgs': Package.objects.exclude(repo__name__iexact='testing').order_by( - '-last_update')[:15], + 'news_updates': News.objects.order_by('-postdate', '-id')[:10], + 'pkg_updates': Package.objects.exclude( + repo__name__iexact='testing').order_by('-last_update')[:15], 'repos': Repo.objects.all() } return render_to_response('public/index.html', context, |