summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-10 18:51:06 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-10 18:51:06 -0400
commit0e0265a624947fcb13860cfcc24078e79af9346b (patch)
treeeb41441edda87b5aeadb6002f940022b6e78471f /devel/views.py
parent0207ba60fd0a8a749bf97f183e5ef6f71d0b1cde (diff)
drop useless view
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py9
1 files changed, 3 insertions, 6 deletions
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: