summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-11 00:51:06 +0200
committerDusty Phillips <buchuki@gmail.com>2008-10-11 00:51:06 +0200
commit0e0265a624947fcb13860cfcc24078e79af9346b (patch)
treeeb41441edda87b5aeadb6002f940022b6e78471f /devel
parent0207ba60fd0a8a749bf97f183e5ef6f71d0b1cde (diff)
downloadarchweb-0e0265a624947fcb13860cfcc24078e79af9346b.tar.gz
archweb-0e0265a624947fcb13860cfcc24078e79af9346b.tar.xz
drop useless view
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/views.py b/devel/views.py
index e0e25e1..2b78e53 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: