From 0e0265a624947fcb13860cfcc24078e79af9346b Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Fri, 10 Oct 2008 18:51:06 -0400 Subject: drop useless view --- devel/views.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'devel') diff --git a/devel/views.py b/devel/views.py index e0e25e17..2b78e533 100644 --- a/devel/views.py +++ b/devel/views.py @@ -65,12 +65,9 @@ def siteindex(request): pkgs = Package.objects.exclude(repo__name__iexact='testing').order_by( '-last_update')[:15] repos = Repo.objects.all() - return render_response( - request, 'devel/siteindex.html', - {'news_updates': news, 'pkg_updates': pkgs, 'repos': repos}) - -def denied(request): - return render_response(request, 'devel/denied.html') + return render_to_response('devel/siteindex.html', + RequestContext(request, + {'news_updates': news, 'pkg_updates': pkgs, 'repos': repos})) # vim: set ts=4 sw=4 et: -- cgit v1.2.3-54-g00ecf